blob: bb8477822a66f23a16a01a5f4395ea75b1892343 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
project('diatest', 'cpp')
if host_machine.system() != 'windows'
error('MESON_SKIP_TEST: unsupported platform')
endif
cpp = meson.get_compiler('cpp', native: false)
is_msvc_clang = cpp.get_id() == 'clang' and cpp.get_define('_MSC_VER') != ''
if not ['msvc', 'clang-cl'].contains(cpp.get_id()) and not is_msvc_clang
error('MESON_SKIP_TEST: unsupported compiler')
endif
dia = dependency('diasdk', required: true)
executable('dia_registered', ['dia_registered.cpp'], dependencies:[dia])
|