summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-05-31 15:12:09 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-05-31 15:12:09 (GMT)
commiteae07d978b524c787daeab911ca087b47a964577 (patch)
treed20439f4d8ce5857eb2ecf2bf569ce3d3ceffff3 /cmake
parent5f67c67323bff27751ba07c417ba99180fa0d762 (diff)
downloadDoxygen-eae07d978b524c787daeab911ca087b47a964577.zip
Doxygen-eae07d978b524c787daeab911ca087b47a964577.tar.gz
Doxygen-eae07d978b524c787daeab911ca087b47a964577.tar.bz2
Added support for language codes
Diffstat (limited to 'cmake')
-rw-r--r--cmake/lang_cfg.cmake2
-rw-r--r--cmake/version.cmake6
2 files changed, 1 insertions, 7 deletions
diff --git a/cmake/lang_cfg.cmake b/cmake/lang_cfg.cmake
index b2b6708..c57d3ed 100644
--- a/cmake/lang_cfg.cmake
+++ b/cmake/lang_cfg.cmake
@@ -4,7 +4,7 @@ if(${CMAKE_ARGC} GREATER 1)
else()
math(EXPR UPTO ${CMAKE_ARGC}-1)
foreach(i RANGE 3 ${UPTO})
- message("#define ENGLISH_${CMAKE_ARGV${i}}")
+ message("#define LANG_${CMAKE_ARGV${i}}")
endforeach()
endif()
endif()
diff --git a/cmake/version.cmake b/cmake/version.cmake
index 0c5add9..2ebf42d 100644
--- a/cmake/version.cmake
+++ b/cmake/version.cmake
@@ -1,8 +1,2 @@
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(ENV{VERSION} "${VERSION}")