summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2012-10-20 01:26:44 -0400
committerAlan Antonuk <alan.antonuk@gmail.com>2012-10-20 02:45:27 -0400
commit3b5fe03234feace45ad15af1a90889755c6ce7f5 (patch)
tree851e7425827c9dfcb23372a457c58d3ad0abd591 /cmake
parent511c9398539f30e6ebbee243112b29674b76581c (diff)
downloadrabbitmq-c-github-ask-3b5fe03234feace45ad15af1a90889755c6ce7f5.tar.gz
cmake: configure config.h instead of generating it
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/config.h.in b/cmake/config.h.in
new file mode 100644
index 0000000..91cdc0b
--- /dev/null
+++ b/cmake/config.h.in
@@ -0,0 +1,10 @@
+#ifndef CONFIG_H
+#define CONFIG_H
+
+#define VERSION "${VERSION}"
+
+#ifndef __cplusplus
+# define inline ${C_INLINE}
+#endif
+
+#endif /* CONFIG_H */