diff --git a/.gitignore b/.gitignore index d232a9b0..cc8d2bc2 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,7 @@ compile_commands.json *.a *.txt.user *.autosave - +/Doxyfile .DS_Store clients/sfizz_jack diff --git a/Doxyfile b/scripts/Doxyfile.in similarity index 99% rename from Doxyfile rename to scripts/Doxyfile.in index 1de7cecd..36cd35d5 100644 --- a/Doxyfile +++ b/scripts/Doxyfile.in @@ -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). diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2475fd65..bcc7f6e5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)