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-11-23 19:10:02 +03:00
|
|
|
add_custom_target(doc
|
2016-05-26 16:52:51 +03:00
|
|
|
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.py ${FMT_VERSION} SOURCES build.py)
|
2015-01-30 23:53:52 +03:00
|
|
|
|
2016-05-24 17:03:08 +03:00
|
|
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/
|
|
|
|
DESTINATION share/doc/fmt OPTIONAL)
|