summaryrefslogtreecommitdiff
path: root/documentation/CMakeLists.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2025-05-07 21:14:10 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2025-05-07 21:21:35 +0200
commit4d559838338e2dce347fe0e3e7cf63c9ebd03008 (patch)
tree23dea4059fad0f5c8478d98e39c1919ad02f82b4 /documentation/CMakeLists.txt
parentd54dbd3d6c681b12c72996cf01c04f03ffdc88c5 (diff)
Remove hardcoded version numbers (part 2) and more documentation
The goal is to change the version number for a new release only in CMakeLists.txt. This is the second step. This commit also adds a chapter "Migrating Code from FLTK 1.4 to 1.5". Details: - documentation/CMakeLists.txt: configure 'version.dox' - fluid/documentation/CMakeLists.txt: same as above - documentation/Doxyfile.in: add "Migrating Code from FLTK 1.4 to 1.5" - documentation/src/index.dox: include 'version.dox' and 'migrating...' - fluid/documentation/src/index.dox: same as above - documentation/src/preface.dox: include 'version.dox' - documentation/version.dox.in: input to CMake configure 'version.dox' - fluid/documentation/version.dox.in: same as above - documentation/src/migration_1_4.dox: update links - documentation/src/migration_1_5.dox: new documentation chapter
Diffstat (limited to 'documentation/CMakeLists.txt')
-rw-r--r--documentation/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/CMakeLists.txt b/documentation/CMakeLists.txt
index 6cd1d1462..3dc9fbd1b 100644
--- a/documentation/CMakeLists.txt
+++ b/documentation/CMakeLists.txt
@@ -56,6 +56,13 @@ if(GENERATE_DOCS)
string(REGEX REPLACE " .*$" "" DOXYGEN_VERSION_SHORT ${DOXYGEN_VERSION})
endif(DOXYGEN_FOUND)
+ # configure version.dox (includes the bare FLTK version number)
+ configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/version.dox.in
+ ${CMAKE_CURRENT_BINARY_DIR}/version.dox
+ @ONLY
+ )
+
# configure copyright.dox (includes current year)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/copyright.dox.in