diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-07-09 21:07:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-30 15:02:43 (GMT) |
commit | da5ac4bb602bafb97b4dc0e012f1d26bbab58e3a (patch) | |
tree | 52a7e3d270e57688a5aa089986b09d857f8d268c /Help/manual | |
parent | d4e6b2ae25659699fccf6bc5888e87179f41b23a (diff) | |
download | CMake-da5ac4bb602bafb97b4dc0e012f1d26bbab58e3a.zip CMake-da5ac4bb602bafb97b4dc0e012f1d26bbab58e3a.tar.gz CMake-da5ac4bb602bafb97b4dc0e012f1d26bbab58e3a.tar.bz2 |
cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable
For the multi-configuration generators one can specify the list
of configurations to include in the package.
E.g. having a project, where debug libraries have a suffix to
distinct them from the release builds, one can build the package
containing both `Debug` and `Release` binaries.
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cpack.1.rst | 8 |
1 files changed, 5 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. |