Skip to content
Snippets Groups Projects
Commit 9525fa23 authored by tobiglaser's avatar tobiglaser
Browse files

enable Doxygen in cmake

parent bdee89ca
No related branches found
No related tags found
No related merge requests found
......@@ -13,4 +13,17 @@ src/testCommandList.cpp
)
# Add include directory
target_include_directories("Info3_Praktikum-test" PUBLIC include/)
\ No newline at end of file
target_include_directories("Info3_Praktikum-test" PUBLIC include/)
# Doxygen documentation
find_package(Doxygen)
if (DOXYGEN_FOUND)
add_custom_target( doc_doxygen ALL
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/..
COMMENT "Generating API documentation with Doxygen"
VERBATIM )
else (DOXYGEN_FOUND)
message("Doxygen need to be installed to generate the doxygen documentation")
endif (DOXYGEN_FOUND)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment