aboutsummaryrefslogtreecommitdiff
path: root/test cases/cmake
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-06-01 12:25:05 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-06-05 11:45:11 +0200
commit0e98a7679a658b2a53a5de578f202a022c69f0c1 (patch)
tree7e4c8e93b1d2427d6b56f84b86e305857a98bbb0 /test cases/cmake
parentede2cd556c0568dabcb8826fe87bd00c376b797e (diff)
downloadmeson-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.build5
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()