diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2016-08-04 13:01:42 +0300 |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2016-08-16 19:02:35 +0300 |
commit | c18dc6fbe5b68312be52353aa0a493106584ffe7 (patch) | |
tree | aef64221386463a3acc980f946b65a8f6292cbe5 /CMakeLists.txt | |
parent | 6b07972fbdf7e8687577a430597e40e7e0b4831d (diff) | |
download | cmake-c18dc6fbe5b68312be52353aa0a493106584ffe7.tar.gz |
Added CMake_BUILD_DEVELOPER_REFERENCE option
By default is OFF and marked as advanced.
It's also add custom cmake-developer-reference (ALL) target
Generated output will be installed to ${CMAKE_DOC_DIR}/developer-reference.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ae5990ebec..3aef619732 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,6 +93,11 @@ option(CMake_INSTALL_DEPENDENCIES "Whether to install 3rd-party runtime dependencies" OFF) mark_as_advanced(CMake_INSTALL_DEPENDENCIES) +# option to build reference for CMake developers +option(CMake_BUILD_DEVELOPER_REFERENCE + "Build CMake Developer Reference" OFF) +mark_as_advanced(CMake_BUILD_DEVELOPER_REFERENCE) + #----------------------------------------------------------------------- # a macro to deal with system libraries, implemented as a macro # simply to improve readability of the main script |