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.
This commit is contained in:
Alex Turbov
2019-07-10 00:07:55 +03:00
committed by Brad King
parent d4e6b2ae25
commit da5ac4bb60
8 changed files with 82 additions and 20 deletions
@@ -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.