-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GitHub Actions Bot
committed
Dec 25, 2024
1 parent
80fbd5c
commit 2dc94db
Showing
1 changed file
with
37 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,42 @@ | ||
find_package(Doxygen) | ||
if(DOXYGEN_FOUND) | ||
if(DOXYGEN_FOUND) | ||
|
||
set(DOXYGEN_USE_MATHJAX YES) | ||
set(DOXYGEN_STRIP_FROM_INC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/include") | ||
set(DOXYGEN_EXCLUDE | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part1.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part2.cpp) | ||
set(DOXYGEN_EXCLUDE_PATTERNS | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/*/README.md | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part1.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part2.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/* | ||
${CMAKE_CURRENT_SOURCE_DIR}/tests/benchmarks/benchmark-ewpt-c2hdm.cpp # THIS ONE | ||
${CMAKE_CURRENT_SOURCE_DIR}/tests/benchmarks/benchmark-ewbg-c2hdm.cpp # THIS ONE | ||
${CMAKE_CURRENT_SOURCE_DIR}/tests/unittests) # THIS ONE | ||
set(DOXYGEN_USE_MATHJAX YES) | ||
set(DOXYGEN_STRIP_FROM_INC_PATH "${CMAKE_CURRENT_SOURCE_DIR}/include") | ||
set(DOXYGEN_EXCLUDE | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part1.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part2.cpp) | ||
set(DOXYGEN_EXCLUDE_PATTERNS | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/*/README.md | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part1.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/Kfactors/Kfunctions_grid_Part2.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/* | ||
${CMAKE_CURRENT_SOURCE_DIR}/tests/benchmarks/benchmark-ewpt-c2hdm.cpp # THIS ONE | ||
${CMAKE_CURRENT_SOURCE_DIR}/tests/benchmarks/benchmark-ewbg-c2hdm.cpp # THIS ONE | ||
${CMAKE_CURRENT_SOURCE_DIR}/tests/unittests) # THIS ONE | ||
|
||
set(DOXYGEN_PROJECT_BRIEF ${CMAKE_PROJECT_DESCRIPTION}) | ||
set(DOXYGEN_EXTRACT_PRIVATE YES) | ||
set(DOXYGEN_GENERATE_TREEVIEW YES) | ||
set(DOXYGEN_DISTRIBUTE_GROUP_DOC YES) | ||
set(DOXYGEN_WARN_IF_UNDOCUMENTED YES) | ||
set(DOXYGEN_WARN_IF_DOC_ERROR YES) | ||
set(DOXYGEN_USE_MDFILE_AS_MAINPAGE ${CMAKE_CURRENT_SOURCE_DIR}/README.md) | ||
set(DOXYGEN_GENERATE_XML YES) | ||
set(DOXYGEN_EXTRACT_ALL YES) | ||
set(DOXYGEN_EXTRACT_STATIC YES) | ||
set(DOXYGEN_EXTRACT_LOCAL_CLASSES YES) | ||
set(DOXYGEN_ENABLE_PREPROCESSING YES) | ||
set(DOXYGEN_MACRO_EXPANSION YES) | ||
set(DOXYGEN_PROJECT_BRIEF ${CMAKE_PROJECT_DESCRIPTION}) | ||
set(DOXYGEN_EXTRACT_PRIVATE YES) | ||
set(DOXYGEN_GENERATE_TREEVIEW YES) | ||
set(DOXYGEN_DISTRIBUTE_GROUP_DOC YES) | ||
set(DOXYGEN_WARN_IF_UNDOCUMENTED YES) | ||
set(DOXYGEN_WARN_IF_DOC_ERROR YES) | ||
set(DOXYGEN_USE_MDFILE_AS_MAINPAGE ${CMAKE_CURRENT_SOURCE_DIR}/README.md) | ||
set(DOXYGEN_GENERATE_XML YES) | ||
set(DOXYGEN_EXTRACT_ALL YES) | ||
set(DOXYGEN_EXTRACT_STATIC YES) | ||
set(DOXYGEN_EXTRACT_LOCAL_CLASSES YES) | ||
set(DOXYGEN_ENABLE_PREPROCESSING YES) | ||
set(DOXYGEN_MACRO_EXPANSION YES) | ||
|
||
doxygen_add_docs( | ||
doc | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/src/" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/README.md" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Changelog.md" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/tests/") | ||
doxygen_add_docs( | ||
doc | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/src/" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/README.md" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/Changelog.md" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/tests/") | ||
|
||
else() | ||
message( | ||
"Doxygen need to be installed to generate the doxygen documentation") | ||
endif() | ||
else() | ||
message("Doxygen need to be installed to generate the doxygen documentation") | ||
endif() |