aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/CodegenConfig.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-05-30 15:56:29 -0700
committerrtk0c <[email protected]>2022-05-30 15:56:29 -0700
commit80afa67d2b9f1c0605696a3fd69058544fe12fe4 (patch)
tree3dfe2a6f45e4f5ca8ad534baf06d76d9c558333b /buildtools/codegen/CodegenConfig.hpp
parent0d92ecfdbfc875a099d9e83714b3a2209668fca5 (diff)
parent7d8bca09b3c4bf1418e758bd3bd0d6f85672153e (diff)
Changeset: 53
Diffstat (limited to 'buildtools/codegen/CodegenConfig.hpp')
-rw-r--r--buildtools/codegen/CodegenConfig.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/buildtools/codegen/CodegenConfig.hpp b/buildtools/codegen/CodegenConfig.hpp
new file mode 100644
index 0000000..b9dc56c
--- /dev/null
+++ b/buildtools/codegen/CodegenConfig.hpp
@@ -0,0 +1,11 @@
+#pragma once
+
+#ifndef CODEGEN_DEBUG_PRINT
+# define CODEGEN_DEBUG_PRINT 0
+#endif
+
+#if CODEGEN_DEBUG_PRINT
+# define DEBUG_PRINTF(...) printf(__VA_ARGS__)
+#else
+# define DEBUG_PRINTF(...)
+#endif