summaryrefslogtreecommitdiffstats
path: root/ecmake/cmakeconfig.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'ecmake/cmakeconfig.h.in')
-rw-r--r--ecmake/cmakeconfig.h.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/ecmake/cmakeconfig.h.in b/ecmake/cmakeconfig.h.in
new file mode 100644
index 0000000..02416c8
--- /dev/null
+++ b/ecmake/cmakeconfig.h.in
@@ -0,0 +1,13 @@
+#define PACKAGE "@CMAKE_PROJECT_NAME@"
+#define PACKAGE_NAME PACKAGE
+#define VERSION "@ECMAKE_VERSION@"
+#define VMAJ @ECMAKE_VERSION_MAJOR@
+#define VMIN @ECMAKE_VERSION_MINOR@
+#define VMIC @ECMAKE_VERSION_MICRO@
+
+#cmakedefine HAVE___ATTRIBUTE__
+#ifdef HAVE___ATTRIBUTE__
+#define __UNUSED__ __attribute__((unused))
+#else
+#define __UNUSED__
+#endif