Skip to content

Commit 189db98

Browse files
committed
The doxygen version number is set by cmake.
1 parent c210711 commit 189db98

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@ add_custom_target(package ${PROJECT_SOURCE_DIR}/programs/build_tgz_package ${lib
218218

219219

220220
### Other targets
221+
222+
## Set the version number in the Doxyfile
223+
configure_file(${PROJECT_SOURCE_DIR}/Doxyfile.in ${PROJECT_SOURCE_DIR}/Doxyfile
224+
ESCAPE_QUOTES @ONLY
225+
)
226+
221227
if (NON_REALTIME)
222228
add_subdirectory(programs EXCLUDE_FROM_ALL)
223229
else()

Doxyfile Doxyfile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PROJECT_NAME = libbarrett
3131
# This could be handy for archiving the generated documentation or
3232
# if some version control system is used.
3333

34-
PROJECT_NUMBER = 0.2
34+
PROJECT_NUMBER = @libbarrett_VERSION_MAJOR@.@libbarrett_VERSION_MINOR@
3535

3636
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
3737
# base path where the generated documentation will be put.

0 commit comments

Comments
 (0)