gnome-control-center/tests/common/meson.build
2018-04-17 15:26:59 +02:00

23 lines
380 B
Meson

test_unit = 'test-hostname'
sources = files(
test_unit + '.c'
)
cflags = [
'-DTEST_SRCDIR="@0@"'.format(meson.current_source_dir()),
'-DTEST_TOPSRCDIR="@0@"'.format(meson.source_root())
]
exe = executable(
test_unit,
sources,
include_directories: [ top_inc, common_inc ],
dependencies: common_deps + [libwidgets_dep],
c_args: cflags,
)
test(test_unit, exe)