yyc12345
7adac00035
- fix build commandline introduction in documentation. - update build script template. - only install document in any Release-like build type. - now testbench will be installed in any Release-like build type, not only Release.
20 lines
529 B
CMake
20 lines
529 B
CMake
# Configure Doxygen config file
|
|
configure_file(
|
|
${CMAKE_CURRENT_LIST_DIR}/Doxyfile.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
|
@ONLY
|
|
)
|
|
|
|
# Add custom target
|
|
add_custom_target (YYCCDocumentation
|
|
doxygen ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
COMMENT "Generating documentation" VERBATIM
|
|
)
|
|
|
|
# Install built documentation
|
|
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
|
|
CONFIGURATIONS Release RelWithDebInfo MinSizeRel
|
|
DESTINATION ${YYCC_INSTALL_DOC_PATH}
|
|
)
|