mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Add policy CMP0172 to set `CPACK_WIX_INSTALL_SCOPE` to `perMachine` by default. Follow up commit60661f6770(CPack/WiX: Make InstallScope configurable, 2023-11-07, v3.29.0-rc1~413^2) and commit614100dbf6(CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower, 2024-06-05, v3.30.0-rc1~7^2~1). Issue: #20962 Issue: #26029
52 lines
2.2 KiB
ReStructuredText
52 lines
2.2 KiB
ReStructuredText
CMAKE_POLICY_WARNING_CMP<NNNN>
|
|
------------------------------
|
|
|
|
Explicitly enable or disable the warning when CMake Policy ``CMP<NNNN>``
|
|
has not been set explicitly by :command:`cmake_policy` or implicitly
|
|
by :command:`cmake_minimum_required`. This is meaningful
|
|
only for the policies that do not warn by default:
|
|
|
|
* ``CMAKE_POLICY_WARNING_CMP0025`` controls the warning for
|
|
policy :policy:`CMP0025`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0047`` controls the warning for
|
|
policy :policy:`CMP0047`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0056`` controls the warning for
|
|
policy :policy:`CMP0056`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0060`` controls the warning for
|
|
policy :policy:`CMP0060`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0065`` controls the warning for
|
|
policy :policy:`CMP0065`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0066`` controls the warning for
|
|
policy :policy:`CMP0066`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0067`` controls the warning for
|
|
policy :policy:`CMP0067`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0082`` controls the warning for
|
|
policy :policy:`CMP0082`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0089`` controls the warning for
|
|
policy :policy:`CMP0089`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0102`` controls the warning for
|
|
policy :policy:`CMP0102`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0112`` controls the warning for
|
|
policy :policy:`CMP0112`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0116`` controls the warning for
|
|
policy :policy:`CMP0116`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0126`` controls the warning for
|
|
policy :policy:`CMP0126`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0128`` controls the warning for
|
|
policy :policy:`CMP0128`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0129`` controls the warning for
|
|
policy :policy:`CMP0129`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0133`` controls the warning for
|
|
policy :policy:`CMP0133`.
|
|
* ``CMAKE_POLICY_WARNING_CMP0172`` controls the warning for
|
|
policy :policy:`CMP0172`.
|
|
|
|
This variable should not be set by a project in CMake code. Project
|
|
developers running CMake may set this variable in their cache to
|
|
enable the warning (e.g. ``-DCMAKE_POLICY_WARNING_CMP<NNNN>=ON``).
|
|
Alternatively, running :manual:`cmake(1)` with the
|
|
:option:`--debug-output <cmake --debug-output>`,
|
|
:option:`--trace <cmake --trace>`, or
|
|
:option:`--trace-expand <cmake --trace-expand>` option will also
|
|
enable the warning.
|