diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2016-08-04 10:01:42 (GMT) |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2016-08-16 16:02:35 (GMT) |
commit | c18dc6fbe5b68312be52353aa0a493106584ffe7 (patch) | |
tree | aef64221386463a3acc980f946b65a8f6292cbe5 /Source | |
parent | 6b07972fbdf7e8687577a430597e40e7e0b4831d (diff) | |
download | CMake-c18dc6fbe5b68312be52353aa0a493106584ffe7.zip CMake-c18dc6fbe5b68312be52353aa0a493106584ffe7.tar.gz CMake-c18dc6fbe5b68312be52353aa0a493106584ffe7.tar.bz2 |
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 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 9 | ||||
-rw-r--r-- | Source/QtDialog/CMakeSetup64.png | bin | 0 -> 7213 bytes | |||
-rw-r--r-- | Source/dir.dox | 7 | ||||
-rw-r--r-- | Source/dir.dox.in | 7 |
4 files changed, 23 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index cdc8fb1..b68675d 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -50,6 +50,15 @@ if(WIN32) add_definitions(-DUNICODE -D_UNICODE) endif() +# configure the .dox.in file +if(CMake_BUILD_DEVELOPER_REFERENCE) + configure_file( + "${CMake_SOURCE_DIR}/Source/dir.dox.in" + "${CMake_BINARY_DIR}/Source/dir.dox" + @ONLY + ) +endif() + # configure the .h file configure_file( "${CMake_SOURCE_DIR}/Source/cmConfigure.cmake.h.in" diff --git a/Source/QtDialog/CMakeSetup64.png b/Source/QtDialog/CMakeSetup64.png Binary files differnew file mode 100644 index 0000000..43a8cc6 --- /dev/null +++ b/Source/QtDialog/CMakeSetup64.png diff --git a/Source/dir.dox b/Source/dir.dox new file mode 100644 index 0000000..66e3de7 --- /dev/null +++ b/Source/dir.dox @@ -0,0 +1,7 @@ +/*! + +\dir + +\brief Root \c ${CMake_SOURCE_DIR}/Source directory + +*/ diff --git a/Source/dir.dox.in b/Source/dir.dox.in new file mode 100644 index 0000000..78cf58d --- /dev/null +++ b/Source/dir.dox.in @@ -0,0 +1,7 @@ +/*! + +\dir + +\brief Generated \c ${CMake_BINARY_DIR}/Source directory + +*/ |