aboutsummaryrefslogtreecommitdiff
path: root/src/release.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/release.cpp')
-rw-r--r--src/release.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/release.cpp b/src/release.cpp
new file mode 100644
index 00000000..9beb45ef
--- /dev/null
+++ b/src/release.cpp
@@ -0,0 +1,18 @@
+/* <<< Release Notice for library >>> */
+
+#include "proj.h"
+#include "projects.h"
+
+#define STR_HELPER(x) #x
+#define STR(x) STR_HELPER(x)
+
+char const pj_release[] =
+ "Rel. "
+ STR(PROJ_VERSION_MAJOR)"."
+ STR(PROJ_VERSION_MINOR)"."
+ STR(PROJ_VERSION_PATCH)", "
+ "March 1st, 2019";
+
+const char *pj_get_release() {
+ return pj_release;
+}