diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-06-01 12:25:05 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-06-05 11:45:11 +0200 |
commit | 0e98a7679a658b2a53a5de578f202a022c69f0c1 (patch) | |
tree | 7e4c8e93b1d2427d6b56f84b86e305857a98bbb0 /test cases/cmake | |
parent | ede2cd556c0568dabcb8826fe87bd00c376b797e (diff) | |
download | meson-0e98a7679a658b2a53a5de578f202a022c69f0c1.zip meson-0e98a7679a658b2a53a5de578f202a022c69f0c1.tar.gz meson-0e98a7679a658b2a53a5de578f202a022c69f0c1.tar.bz2 |
cmake: Skip MSVC like compilers, since C++11 is not supported
Diffstat (limited to 'test cases/cmake')
-rw-r--r-- | test cases/cmake/19 advanced options/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/cmake/19 advanced options/meson.build b/test cases/cmake/19 advanced options/meson.build index 7e2d4e8..6332ca4 100644 --- a/test cases/cmake/19 advanced options/meson.build +++ b/test cases/cmake/19 advanced options/meson.build @@ -1,5 +1,10 @@ project('cmake_set_opt', ['c', 'cpp']) +comp = meson.get_compiler('cpp') +if comp.get_argument_syntax() == 'msvc' + error('MESON_SKIP_TEST: MSVC is not supported because it does not support C++11') +endif + cm = import('cmake') opts = cm.subproject_options() |