virt-viewer/tests/meson.build
Daniel P. Berrangé b2c072cf0b build: introduce meson build recipes
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-01-25 16:02:48 +00:00

57 lines
1.4 KiB
Meson

version_compare_bin = executable(
'test-version-compare',
sources: ['test-version-compare.c'],
dependencies: [glib_dep, gtk_dep],
include_directories: top_include_dir + src_include_dir,
link_with: [util_lib],
)
test('test-version-compare', version_compare_bin)
monitor_mapping_bin = executable(
'test-monitor-mapping',
sources: ['test-monitor-mapping.c'],
dependencies: [glib_dep, gtk_dep],
include_directories: top_include_dir + src_include_dir,
link_with: [util_lib],
)
test('test-monitor-mapping', monitor_mapping_bin)
hotkeys_bin = executable(
'test-hotkeys',
sources: ['test-hotkeys.c', common_enum_headers],
dependencies: [glib_dep, gtk_dep],
include_directories: top_include_dir + src_include_dir,
link_with: [common_lib],
)
test('test-hotkeys', hotkeys_bin)
monitor_alignment_bin = executable(
'test-monitor-alignment',
sources: ['test-monitor-alignment.c'],
dependencies: [glib_dep, gtk_dep],
include_directories: top_include_dir + src_include_dir,
link_with: [util_lib],
)
test('test-monitor-alignment', monitor_alignment_bin)
if host_machine.system() == 'windows'
redirect_bin = executable(
'test-redirect',
sources: ['redirect-test.c'],
dependencies: [glib_dep, gtk_dep],
link_with: [util_lib],
link_args: ['-Wl,--subsystem,windows'],
include_directories: top_include_dir + src_include_dir,
)
test('test-redirect', redirect_bin)
endif