CMake/Help/policy
Brad King a41c0a9dcb Do not warn by default when policy CMP0025 or CMP0047 is not set
These policies are triggered by the use of a particular compiler rather
than outdated CMake code in a project.  Avoid warning in every project
that enables a language by not displaying the policy warning by default.
Add variable CMAKE_POLICY_WARNING_CMP<NNNN> to control the warning
explicitly; otherwise enable the warning with --debug-output or --trace.

This breaks with strict policy convention because it does not provide
developers with any warning about the behavior change by default.
Existing projects will continue to build without a warning or change in
behavior.  When a developer changes the minimum required version of
CMake in a project to a sufficiently high value (3.0), the project will
suddenly get the new compiler id and may break, but at least the
breakage comes with a change to the project rather than the version of
CMake used to build it.

Breaking strict policy convention is worthwhile in this case because
very few projects will be affected by the behavior change but every
project would have to see the warning if it were enabled by default.
2014-04-02 14:43:54 -04:00
..
CMP0000.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0001.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0002.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0003.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0004.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0005.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0006.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0007.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0008.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0009.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0010.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0011.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0012.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0013.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0014.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0015.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0016.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0017.rst cmPolicies: Fix typo 2013-10-18 18:52:01 +02:00
CMP0018.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0019.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0020.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0021.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0022.rst Note how to write CMP0022 compatible code with CMake 2.8.9. 2014-01-08 13:41:24 +01:00
CMP0023.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CMP0024.rst Merge topic 'doc-policy-version-3.0' 2014-02-10 15:40:33 -05:00
CMP0025.rst Do not warn by default when policy CMP0025 or CMP0047 is not set 2014-04-02 14:43:54 -04:00
CMP0026.rst cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) 2014-03-17 09:30:39 -04:00
CMP0027.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0028.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0029.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0030.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0031.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0032.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0033.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0034.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0035.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0036.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0037.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0038.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0039.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0040.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0041.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0042.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0043.rst CMP0043: Document old and new interfaces for setting directory property. 2014-03-03 10:11:19 -05:00
CMP0044.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0045.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0046.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0047.rst Do not warn by default when policy CMP0025 or CMP0047 is not set 2014-04-02 14:43:54 -04:00
CMP0048.rst Help: Change version 3.0.0 -> 3.0 in policy docs 2014-02-10 11:40:21 -05:00
CMP0049.rst Add policy CMP0049 to avoid variable expansion in source lists 2014-02-12 11:17:38 -05:00
CMP0050.rst add_custom_command: Disallow use of SOURCE signatures. 2014-02-12 11:19:27 -05:00
DISALLOWED_COMMAND.txt Add infrastructure for policies that disallow commands 2013-10-22 09:09:51 -04:00