summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-03 13:29:57 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-03 13:30:15 (GMT)
commit2e6effd2e0d8e60ede4aa528e771430071c546b4 (patch)
tree89203a42d0ed66fc8785b669446b1962ecbd8005 /Help
parentd615ce4386f98cfac4d90e136cb272ec2d635e15 (diff)
parentda5ac4bb602bafb97b4dc0e012f1d26bbab58e3a (diff)
downloadCMake-2e6effd2e0d8e60ede4aa528e771430071c546b4.zip
CMake-2e6effd2e0d8e60ede4aa528e771430071c546b4.tar.gz
CMake-2e6effd2e0d8e60ede4aa528e771430071c546b4.tar.bz2
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 'Help')
-rw-r--r--Help/manual/cpack.1.rst8
-rw-r--r--Help/release/dev/cpack-install-multiple-configurations.rst5
2 files changed, 10 insertions, 3 deletions
diff --git a/Help/manual/cpack.1.rst b/Help/manual/cpack.1.rst
index 10f617e..f82c466 100644
--- a/Help/manual/cpack.1.rst
+++ b/Help/manual/cpack.1.rst
@@ -48,9 +48,11 @@ Options
the :variable:`CPACK_GENERATOR` variable determines the default set of
generators that will be used.
-``-C <Configuration>``
- Specify the project configuration to be packaged (e.g. ``Debug``,
- ``Release``, etc.). When the CMake project uses a multi-configuration
+``-C <configs>``
+ Specify the project configuration(s) to be packaged (e.g. ``Debug``,
+ ``Release``, etc.), where ``<configs>`` is a
+ :ref:`semicolon-separated list <CMake Language Lists>`.
+ When the CMake project uses a multi-configuration
generator such as Xcode or Visual Studio, this option is needed to tell
``cpack`` which built executables to include in the package.
diff --git a/Help/release/dev/cpack-install-multiple-configurations.rst b/Help/release/dev/cpack-install-multiple-configurations.rst
new file mode 100644
index 0000000..d1692dc
--- /dev/null
+++ b/Help/release/dev/cpack-install-multiple-configurations.rst
@@ -0,0 +1,5 @@
+cpack-install-multiple-configurations
+-------------------------------------
+
+* CPack learned :variable:`CPACK_INSTALL_CMAKE_CONFIGURATIONS` to control
+ what configurations going to be packaged for multi-configuration generators.