summaryrefslogtreecommitdiff
path: root/cppbuild.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-20 19:02:46 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-20 19:02:46 +0200
commit4bc1ac3fe2fe3ae96ba0e5aa4d19fa4885a16c83 (patch)
tree7508c9420134fe4be54d1b42949f6a9b9c08236b /cppbuild.cc
parent29108531a0569f0a77834b5cc49aeac128cbfd64 (diff)
Add convenience macro for registering build config call-backs.
Diffstat (limited to 'cppbuild.cc')
-rw-r--r--cppbuild.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/cppbuild.cc b/cppbuild.cc
index 50c364f..d3d21be 100644
--- a/cppbuild.cc
+++ b/cppbuild.cc
@@ -147,6 +147,10 @@ BuildConfigurations myConfigs2()
};
}
-int a = reg(__FILE__, myConfigs);
-int b = reg(__FILE__, myConfigs2);
+//int a = reg(__FILE__, myConfigs);
+//int b = reg(__FILE__, myConfigs2);
}
+
+// Convenience macro
+REG(myConfigs);
+REG(myConfigs2);