Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/cmake/DD4hepDoxygen.cmake is written in an unsupported language. File is not indexed.

0001 #---Add a target to generate API documentation with Doxygen-------------------------
0002 find_package(Doxygen)
0003 
0004 if(DOXYGEN_FOUND)
0005 
0006   configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
0007 
0008   add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
0009                     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
0010                     COMMENT "Generating API documentation with Doxygen" VERBATIM)
0011 
0012   install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
0013     DESTINATION doc
0014     )
0015 
0016 else()
0017   message(STATUS "Doxygen command not found. Documentation target (doc) not available")
0018 endif()