mirror of
https://github.com/json-c/json-c.git
synced 2026-03-21 22:19:07 +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)
|
||||
|
||||
add_custom_target(doc
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/Doxyfile
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_SOURCE_DIR}/Doxyfile
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
|
||||
|
||||
# request to configure the file
|
||||
configure_file(Doxyfile Doxyfile)
|
||||
|
||||
Reference in New Issue
Block a user