aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/CodegenConfig.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/codegen/CodegenConfig.hpp')
-rw-r--r--buildtools/codegen/CodegenConfig.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/buildtools/codegen/CodegenConfig.hpp b/buildtools/codegen/CodegenConfig.hpp
new file mode 100644
index 0000000..4ed576a
--- /dev/null
+++ b/buildtools/codegen/CodegenConfig.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#define CODEGEN_DEBUG_PRINT 1
+
+#if CODEGEN_DEBUG_PRINT
+# define DEBUG_PRINTF(...) printf(__VA_ARGS__)
+#else
+# define DEBUG_PRINTF(...)
+#endif