parent
61348da069
commit
c4a9f59dc4
4 changed files with 17 additions and 9 deletions
@ -0,0 +1,4 @@ |
||||
project('msvc_cpp17', 'cpp', default_options: ['cpp_std=c++17']) |
||||
|
||||
exe = executable('msvc_cpp17', 'main.cpp') |
||||
test('msvc_cpp17', exe) |
@ -1,9 +0,0 @@ |
||||
project('msvc_cpp17', 'cpp', default_options: ['cpp_std=c++17']) |
||||
|
||||
compiler = meson.get_compiler('cpp') |
||||
if compiler.get_id() != 'msvc' or compiler.version().version_compare('<19.11') |
||||
error('MESON_SKIP_TEST Visual Studio 2017 (version 15.3) or later is required for C++17 support') |
||||
endif |
||||
|
||||
exe = executable('msvc_cpp17', 'main.cpp') |
||||
test('msvc_cpp17', exe) |
Loading…
Reference in new issue