summaryrefslogtreecommitdiffstats
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2018-05-07 19:58:13 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-08 17:57:10 (GMT)
commit3f354d65b4f2b329ac785e44170bbbfa1cb3e885 (patch)
treee2951d138efb7fbcabf220d8b3f43ad5a2beebf0 /Modules/CPack.cmake
parent53ec4020692ad668c66924dbedaaf4e2c91dcb93 (diff)
downloadCMake-3f354d65b4f2b329ac785e44170bbbfa1cb3e885.zip
CMake-3f354d65b4f2b329ac785e44170bbbfa1cb3e885.tar.gz
CMake-3f354d65b4f2b329ac785e44170bbbfa1cb3e885.tar.bz2
CPack: Move CPACK_BINARY_<GENNAME> with rest of docs
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake20
1 files changed, 10 insertions, 10 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index dc91e56..309d31c 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -321,6 +321,13 @@ The following variables are for advanced uses of CPack:
List of desktop links to create.
Each desktop link requires a corresponding start menu shortcut
as created by :variable:`CPACK_PACKAGE_EXECUTABLES`.
+
+.. variable:: CPACK_BINARY_<GENNAME>
+
+ CPack generated options for binary generators. The CPack.cmake module
+ generates (when CPACK_GENERATOR is not set) a set of CMake options (see
+ CMake option command) which may then be used to select the CPack
+ generator(s) to be used when launching the package target.
#]=======================================================================]
# Define this var in order to avoid (or warn) concerning multiple inclusion
@@ -502,16 +509,9 @@ macro(cpack_optional_append _list _cond _item)
endif()
endmacro()
-#.rst:
-# .. variable:: CPACK_BINARY_<GENNAME>
-#
-# CPack generated options for binary generators. The CPack.cmake module
-# generates (when CPACK_GENERATOR is not set) a set of CMake options (see
-# CMake option command) which may then be used to select the CPack
-# generator(s) to be used when launching the package target.
-#
-# Provide options to choose generators we might check here if the required
-# tools for the generates exist and set the defaults according to the results
+# Provide options to choose generators we might check here if the required
+# tools for the generators exist and set the defaults according to the
+# results.
if(NOT CPACK_GENERATOR)
if(UNIX)
if(CYGWIN)