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.
15 lines
381 B
15 lines
381 B
3 years ago
|
project('msvc __cplusplus', 'cpp', default_options : ['cpp_std=c++14'])
|
||
|
|
||
|
cpp = meson.get_compiler('cpp')
|
||
|
|
||
|
if cpp.get_id() != 'msvc'
|
||
|
error('MESON_SKIP_TEST: test is only relevant for msvc')
|
||
|
elif meson.project_version().version_compare('< 15.7')
|
||
|
error('MESON_SKIP_TEST: test is only relevant for msvc versions >= 15.7')
|
||
|
endif
|
||
|
|
||
|
test(
|
||
|
'main',
|
||
|
executable('main', 'main.cpp'),
|
||
|
)
|