summaryrefslogtreecommitdiff
path: root/libkolabxml-version.h.cmake
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2012-03-28 18:19:04 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-03-28 18:19:04 (GMT)
commitedad5da5eef5b49457905f1ee525a3584e244d40 (patch)
tree0cacce3b5f0f257f1be87e86a217b704a72b22ae /libkolabxml-version.h.cmake
parent2a4a3c925d0f5d44f1192440f86412b99cc6ad9a (diff)
downloadlibkolabxml-edad5da5eef5b49457905f1ee525a3584e244d40.tar.gz
added make dist, set correct soversion, no hardcoded version strings anymore.
All version numbers are now controlled form the toplevel cmake file.
Diffstat (limited to 'libkolabxml-version.h.cmake')
-rw-r--r--libkolabxml-version.h.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/libkolabxml-version.h.cmake b/libkolabxml-version.h.cmake
new file mode 100644
index 0000000..d91e377
--- /dev/null
+++ b/libkolabxml-version.h.cmake
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2012 Christian Mollekopf <mollekopf@kolabsys.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef LIBKOLABXML_VERSION_H
+#define LIBKOLABXML_VERSION_H
+
+#define KOLAB_LIBNAME "@CMAKE_PROJECT_NAME@"
+#define KOLAB_LIB_VERSION "@KOLABXML_VERSION@"
+#define KOLAB_LIB_VERSION_STRING "@KOLABXML_VERSION_STRING@"
+#define KOLAB_FORMAT_VERSION "@KOLAB_FORMAT_VERSION@"
+
+#endif