summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-03 13:29:57 +0000
committerKitware Robot <kwrobot@kitware.com>2019-09-03 09:30:15 -0400
commit2e6effd2e0d8e60ede4aa528e771430071c546b4 (patch)
tree89203a42d0ed66fc8785b669446b1962ecbd8005 /Modules
parentd615ce4386f98cfac4d90e136cb272ec2d635e15 (diff)
parentda5ac4bb602bafb97b4dc0e012f1d26bbab58e3a (diff)
downloadcmake-2e6effd2e0d8e60ede4aa528e771430071c546b4.tar.gz
Merge topic 'cpack-install-multiple-configurations'
da5ac4bb60 cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable d4e6b2ae25 Refactor: Use `unique_ptr` instead of raw pointer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3533
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPack.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 8a6a7129e8..18098464e7 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -301,6 +301,13 @@ The following variables are for advanced uses of CPack:
project. Defaults to the value of :variable:`CMAKE_GENERATOR`. Few users
will want to change this setting.
+.. variable:: CPACK_INSTALL_CMAKE_CONFIGURATIONS
+
+ Specify the project configurations to be packaged (e.g. ``Debug``, ``Release``,
+ etc.). When the CMake project uses a multi-configuration generator such as Xcode
+ or Visual Studio, this option can be used to specify what configurations
+ to include in the package.
+
.. variable:: CPACK_INSTALL_CMAKE_PROJECTS
List of four values that specify what project to install. The four values