aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/13 pch/generated/gen_custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/13 pch/generated/gen_custom.py')
-rw-r--r--meson/test cases/common/13 pch/generated/gen_custom.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/common/13 pch/generated/gen_custom.py b/meson/test cases/common/13 pch/generated/gen_custom.py
new file mode 100644
index 000000000..650e03c2b
--- /dev/null
+++ b/meson/test cases/common/13 pch/generated/gen_custom.py
@@ -0,0 +1,5 @@
+#!/usr/bin/env python3
+import sys
+
+with open(sys.argv[1], 'w') as f:
+ f.write("#define FOO 0")