summaryrefslogtreecommitdiff
path: root/include/ouroboros/version.h.in
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2018-01-10 16:06:18 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2018-01-10 18:38:30 +0100
commitd22606dc078bbd618d2563a552a62cd4f46ac682 (patch)
treef3535e2de293c7f5f8f21ae44d2a0537ee941157 /include/ouroboros/version.h.in
parentb71c2cc9938eee649d6b4a787d4c4bebe849d6e9 (diff)
downloadouroboros-d22606dc078bbd618d2563a552a62cd4f46ac682.tar.gz
ouroboros-d22606dc078bbd618d2563a552a62cd4f46ac682.zip
include: Add version header0.9.0
This moves the version definition for Ouroboros into its own header file, which is generated by CMake and installed on the system. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'include/ouroboros/version.h.in')
-rw-r--r--include/ouroboros/version.h.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/ouroboros/version.h.in b/include/ouroboros/version.h.in
new file mode 100644
index 00000000..28c4bd92
--- /dev/null
+++ b/include/ouroboros/version.h.in
@@ -0,0 +1,30 @@
+/*
+ * Ouroboros - Copyright (C) 2016 - 2017
+ *
+ * Ouroboros version
+ *
+ * Dimitri Staessens <dimitri.staessens@ugent.be>
+ * Sander Vrijders <sander.vrijders@ugent.be>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., http://www.fsf.org/about/contact/.
+ */
+
+#ifndef OUROBOROS_VERSION_H
+#define OUROBOROS_VERSION_H
+
+#define OUROBOROS_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@
+#define OUROBOROS_VERSION_MINOR @PACKAGE_VERSION_MINOR@
+#define OUROBOROS_VERSION_PATCH @PACKAGE_VERSION_PATCH@
+
+#endif /* OUROBOROS_VERSION_H */