Build doxygen documentation by cmake (#17)

* added cmake command to make doxygen docs

* added back doxyfile for users
This commit is contained in:
Erik Fröjdh
2019-05-03 14:58:15 +02:00
committed by Dhanya Thattil
parent 96d7345124
commit 1094d5d30c
5 changed files with 2527 additions and 27 deletions

View File

@ -124,14 +124,14 @@ endif()
install(TARGETS sls_detector_put sls_detector_get sls_detector_acquire sls_detector_help DESTINATION bin)
if(DOXYGEN_FOUND)
add_custom_target(doc
${DOXYGEN_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/slsDetectorUsers.doxy
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM
)
endif()
# if(DOXYGEN_FOUND)
# add_custom_target(doc
# ${DOXYGEN_EXECUTABLE}
# ${CMAKE_CURRENT_SOURCE_DIR}/slsDetectorUsers.doxy
# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
# COMMENT "Generating API documentation with Doxygen" VERBATIM
# )
# endif()
if (SLS_USE_TESTS)
add_subdirectory(tests)