libui/test/meson.build

31 lines
714 B
Meson
Raw Normal View History

# 23 march 2019
libui_test_sources = [
'initmain.c',
2019-04-10 19:11:44 -05:00
'main.c',
'testing.c',
]
#if libui_OS == 'windows'
# libui_test_manifest = 'test.manifest'
# if libui_mode == 'static'
# libui_test_manifest = 'test.static.manifest'
# endif
# libui_test_sources += [
# windows.compile_resources('resources.rc',
# args: libui_manifest_args,
# depend_files: [libui_test_manifest]),
# ]
#endif
# TODO once we upgrade to 0.49.0, add pie: true
# TODO once we upgrade to 0.50.0, add protocol: 'exitcode'
libui_tester = executable('tester', libui_test_sources,
dependencies: libui_binary_deps,
link_with: libui_libui,
gui_app: false,
install: false)
test('test', libui_tester,
is_parallel: false,
should_fail: false)