Fix the doc build.
- Fix the doc target management: now working whatever the combination of modules that is asked. - Add edo to the doc targets. - Add a warning when doxygen is not found.
This commit is contained in:
parent
bc686f7023
commit
4f726f482d
3 changed files with 115 additions and 13 deletions
|
|
@ -37,6 +37,11 @@ SET(GLOBAL_VERSION "${VERSION}")
|
|||
## Optional
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/module" CACHE INTERNAL "Cmake module" FORCE)
|
||||
include(FindDoxygen OPTIONAL)
|
||||
if(NOT DOXYGEN_FOUND)
|
||||
message(WARNING "Doxygen was not found, install it if you want to generate the documentation.")
|
||||
else()
|
||||
message(STATUS "Doxygen found, use the target `doc` to generate the documentation.")
|
||||
endif()
|
||||
|
||||
######################################################################################
|
||||
### 3) Include CMake files
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue