summaryrefslogtreecommitdiffstats
path: root/Tests/Preprocess/preprocess.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Preprocess/preprocess.h.in')
-rw-r--r--Tests/Preprocess/preprocess.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Preprocess/preprocess.h.in b/Tests/Preprocess/preprocess.h.in
new file mode 100644
index 0000000..e058a58
--- /dev/null
+++ b/Tests/Preprocess/preprocess.h.in
@@ -0,0 +1,10 @@
+/* Define configured macros. */
+#define STRING_VALUE "@STRING_VALUE@"
+#define EXPR @EXPR@
+#cmakedefine PREPROCESS_XCODE
+
+/* Declarations and macros shared by all sources. */
+#define TO_STRING(x) TO_STRING0(x)
+#define TO_STRING0(x) #x
+
+static int f(int i) { return i*3; }