mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 13:29:06 +08:00
CMake: Build Doxygen documentation out-of-tree.
This commit is contained in:
@@ -341,8 +341,8 @@ option(BUILD_DOCUMENTATION "Create and install the HTML based API documentation(
|
|||||||
if (DOXYGEN_FOUND)
|
if (DOXYGEN_FOUND)
|
||||||
|
|
||||||
add_custom_target(doc
|
add_custom_target(doc
|
||||||
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
|
COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Doxyfile
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
|
||||||
|
|
||||||
# request to configure the file
|
# request to configure the file
|
||||||
configure_file(Doxyfile Doxyfile)
|
configure_file(Doxyfile Doxyfile)
|
||||||
|
|||||||
Reference in New Issue
Block a user