summaryrefslogtreecommitdiffstats
path: root/test cases/cmake/23 cmake toolchain/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/cmake/23 cmake toolchain/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/test cases/cmake/23 cmake toolchain/meson.build b/test cases/cmake/23 cmake toolchain/meson.build
new file mode 100644
index 0000000..8399597
--- /dev/null
+++ b/test cases/cmake/23 cmake toolchain/meson.build
@@ -0,0 +1,13 @@
+project('cmake toolchain test', ['c'])
+
+if meson.is_cross_build()
+ error('MESON_SKIP_TEST: skip this on cross builds')
+endif
+
+cm = import('cmake')
+
+sub_pro = cm.subproject('cmMod')
+
+add_languages('cpp')
+
+sub_pro = cm.subproject('cmModFortran')