The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
455 B

project(
'meson_cmake_system_include_bug', ['c', 'cpp'],
default_options: [
'warning_level=3',
'werror=true',
],
)
if meson.get_compiler('cpp').get_argument_syntax() == 'msvc'
error('MESON_SKIP_TEST: Skipp with msvc due to missing -system support')
endif
cm = import('cmake')
sub_pro = cm.subproject('cmMod')
sub_dep = sub_pro.dependency('cmModLib')
exe1 = executable('main1', ['main.cpp'], dependencies: [sub_dep])
test('test1', exe1)