yyc12345
e72102496b
- move EnumsHelper into YYCC because it is widely used. - rename all calling to EnumsHelper due to this modification. - add version checker in code to make sure that user use correct YYCC library to compile. - modify some include syntax because the include directory layout changes of YYCC. - update CMake script to resolve the bug that we can not export LibCmo (thanks doyaGu and BLumia).
20 lines
532 B
CMake
20 lines
532 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 (NeMoDocuments
|
|
doxygen ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
|
COMMENT "Generating LibCmo documentation" VERBATIM
|
|
)
|
|
|
|
# Install built documentation
|
|
install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
|
|
CONFIGURATIONS Release RelWithDebInfo MinSizeRel
|
|
DESTINATION ${NEMO_INSTALL_DOC_PATH}
|
|
)
|