mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
12 lines
290 B
CMake
12 lines
290 B
CMake
foreach (program doxygen sphinx-build)
|
|
find_program(${program} ${program})
|
|
if (NOT ${program})
|
|
message(STATUS "Target 'doc' disabled (requires ${program})")
|
|
return ()
|
|
endif ()
|
|
endforeach ()
|
|
|
|
add_custom_target(doc
|
|
COMMAND ${doxygen}
|
|
COMMAND ${sphinx-build} -b html . html)
|