2015-04-10 18:39:09 +03:00
|
|
|
find_program(DOXYGEN doxygen)
|
|
|
|
if (NOT DOXYGEN)
|
|
|
|
message(STATUS "Target 'doc' disabled (requires doxygen)")
|
2015-03-02 03:35:29 +03:00
|
|
|
return ()
|
|
|
|
endif ()
|
|
|
|
|
2015-06-22 16:54:29 +03:00
|
|
|
add_custom_target(doc COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py)
|
2015-01-30 23:53:52 +03:00
|
|
|
|
2015-08-31 18:22:25 +03:00
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
|
|
|
|
DESTINATION share/doc/cppformat)
|