mirror of
https://github.com/opencv/opencv.git
synced 2025-06-27 23:11:57 +08:00
cmake: special target to build/install docs only
This commit is contained in:
parent
beea04cc89
commit
c98330b2d1
@ -171,4 +171,10 @@ if(BUILD_DOCS AND DOXYGEN_FOUND)
|
||||
DESTINATION "${OPENCV_DOC_INSTALL_PATH}"
|
||||
COMPONENT "docs" OPTIONAL
|
||||
)
|
||||
|
||||
# Alias to build/install docs only
|
||||
add_custom_target(install_docs
|
||||
DEPENDS doxygen
|
||||
COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=docs -P "${CMAKE_BINARY_DIR}/cmake_install.cmake"
|
||||
)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user