aboutsummaryrefslogtreecommitdiff
path: root/src/cmake_variables.h.in
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2017-06-16 01:20:02 -0700
committerbenj <benj@rse8.com>2017-06-16 01:20:02 -0700
commit14adc6a1d769e22958496d570b7f25b68cc86969 (patch)
tree6754de138c6d59bbfce8d5a3b732891d5a5e220b /src/cmake_variables.h.in
parentdee453b6473354786871a9b0b123d676ef1eb5cc (diff)
downloadworkbench-master.tar
workbench-master.tar.gz
workbench-master.tar.bz2
workbench-master.tar.lz
workbench-master.tar.xz
workbench-master.tar.zst
workbench-master.zip
add unity testing fmwk and simple hash fn demonstrationHEADmaster
Diffstat (limited to '')
-rw-r--r--src/cmake_variables.h.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/cmake_variables.h.in b/src/cmake_variables.h.in
new file mode 100644
index 0000000..0347d6a
--- /dev/null
+++ b/src/cmake_variables.h.in
@@ -0,0 +1,19 @@
+#ifndef CPROJ_TEMPLATE_H
+#define CPROJ_TEMPLATE_H
+
+#ifdef __GNUC__
+#define UNUSED(x) UNUSED_##x __attribute__((__unused__))
+#else
+#define UNUSED(x) UNUSED_##x
+#endif
+
+#ifdef __GNUC__
+#define UNUSED_FUNCTION(x) __attribute__((__unused__)) UNUSED_##x
+#else
+#define UNUSED_FUNCTION(x) UNUSED_##x
+#endif
+
+#define CMAKE_PROJECT_VERSION "@PROJECT_VERSION@"
+#define CMAKE_PROJECT_NAME "@PROJECT_NAME@"
+
+#endif