aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cmake/11 cmake_module_path/subprojects/cmMod/gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/cmake/11 cmake_module_path/subprojects/cmMod/gen.py')
-rw-r--r--meson/test cases/cmake/11 cmake_module_path/subprojects/cmMod/gen.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/cmake/11 cmake_module_path/subprojects/cmMod/gen.py b/meson/test cases/cmake/11 cmake_module_path/subprojects/cmMod/gen.py
new file mode 100644
index 000000000..5c7164604
--- /dev/null
+++ b/meson/test cases/cmake/11 cmake_module_path/subprojects/cmMod/gen.py
@@ -0,0 +1,9 @@
+with open('main.c', 'w') as fp:
+ print('''
+#include <stdio.h>
+
+int main(void) {
+ printf(\"Hello World\");
+ return 0;
+}
+''', file=fp)