Skip to content
Snippets Groups Projects
Commit 3aca6343 authored by tobiglaser's avatar tobiglaser
Browse files

add Doxygen

parent 6552e61a
No related branches found
No related tags found
No related merge requests found
......@@ -142,3 +142,17 @@ add_custom_command(TARGET csvParserTest POST_BUILD # Adds a post-build event t
COMMAND ${CMAKE_COMMAND} -E copy_if_different # which executes "cmake - E copy_if_different..."
"${PROJECT_SOURCE_DIR}/examples/example.csv" # <--this is in-file
$<TARGET_FILE_DIR:csvParserTest>) # <--this is out-file path
# 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)
Doxyfile 0 → 100644
This diff is collapsed.
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