diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-05-07 21:14:10 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-05-07 21:21:35 +0200 |
| commit | 4d559838338e2dce347fe0e3e7cf63c9ebd03008 (patch) | |
| tree | 23dea4059fad0f5c8478d98e39c1919ad02f82b4 /fluid/documentation/CMakeLists.txt | |
| parent | d54dbd3d6c681b12c72996cf01c04f03ffdc88c5 (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 'fluid/documentation/CMakeLists.txt')
| -rw-r--r-- | fluid/documentation/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fluid/documentation/CMakeLists.txt b/fluid/documentation/CMakeLists.txt index c729aecd9..3bbdcd755 100644 --- a/fluid/documentation/CMakeLists.txt +++ b/fluid/documentation/CMakeLists.txt @@ -47,6 +47,13 @@ if(FLTK_BUILD_FLUID_DOCS OR FLTK_BUILD_PDF_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 |
