Generate versioned Doxyfile

This commit is contained in:
redtide 2020-03-08 15:29:08 +01:00 committed by Paul Fd
parent 4efdcd0ca5
commit d1b252f78e
3 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View file

@ -13,7 +13,7 @@ compile_commands.json
*.a
*.txt.user
*.autosave
/Doxyfile
.DS_Store
clients/sfizz_jack

View file

@ -38,7 +38,7 @@ PROJECT_NAME = sfizz
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 0.1.0
PROJECT_NUMBER = @PROJECT_VERSION@
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
@ -1105,7 +1105,7 @@ GENERATE_HTML = YES
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_OUTPUT = _api
HTML_OUTPUT = api/@PROJECT_VERSION@
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
# generated HTML page (for example: .htm, .php, .asp).

View file

@ -52,6 +52,8 @@ if(WIN32)
configure_file (${PROJECT_SOURCE_DIR}/scripts/innosetup.iss.in ${PROJECT_BINARY_DIR}/innosetup.iss @ONLY)
endif()
configure_file (${PROJECT_SOURCE_DIR}/scripts/Doxyfile.in ${PROJECT_SOURCE_DIR}/Doxyfile @ONLY)
add_library (sfizz::parser ALIAS sfizz_parser)
add_library (sfizz::sfizz ALIAS sfizz_static)
if (LIBATOMIC_FOUND)