summaryrefslogtreecommitdiffstats
path: root/cmake/version.cmake
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-05-31 07:59:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-05-31 07:59:01 (GMT)
commit635d8cf30e702bdf83fe5c96452f8f863d57bdee (patch)
treec88a62cfee260b2ff42ba00ce360d638605adf16 /cmake/version.cmake
parent7bcf8e9a379ec0599160e5562f07b93f8fb9557a (diff)
downloadDoxygen-635d8cf30e702bdf83fe5c96452f8f863d57bdee.zip
Doxygen-635d8cf30e702bdf83fe5c96452f8f863d57bdee.tar.gz
Doxygen-635d8cf30e702bdf83fe5c96452f8f863d57bdee.tar.bz2
Further cmake changes
- made static build option for all windows targets - made wizard flex interactive - add 64bit support for libiconv on windows build - updated test mechanism
Diffstat (limited to 'cmake/version.cmake')
-rw-r--r--cmake/version.cmake10
1 files changed, 6 insertions, 4 deletions
diff --git a/cmake/version.cmake b/cmake/version.cmake
index b8af217..0c5add9 100644
--- a/cmake/version.cmake
+++ b/cmake/version.cmake
@@ -1,6 +1,8 @@
-set(doxygen_version_major "1" CACHE STRING "Major")
-set(doxygen_version_minor "8" CACHE STRING "Minor")
-set(doxygen_version_revision "8" CACHE STRING "Revision")
+file (STRINGS "VERSION" VERSION)
+#string(REGEX MATCH "([0-9]+).([0-9]+).([0-9]+)" ${doxygen_version_major} ${doxygen_version_minor} ${doxygen_version_revision} )
+#set(doxygen_version_major "1" CACHE STRING "Major")
+#set(doxygen_version_minor "8" CACHE STRING "Minor")
+#set(doxygen_version_revision "9.1" CACHE STRING "Revision")
#set(doxygen_version_mmn "-5" CACHE STRING "Mmn")
-set(VERSION "${doxygen_version_major}.${doxygen_version_minor}.${doxygen_version_revision}${doxygen_version_mmn}")
+#set(VERSION "${doxygen_version_major}.${doxygen_version_minor}.${doxygen_version_revision}${doxygen_version_mmn}")
set(ENV{VERSION} "${VERSION}")