diff --git a/Help/policy/CMP0024.rst b/Help/policy/CMP0024.rst index 42b7b9f26..ee53d5f5e 100644 --- a/Help/policy/CMP0024.rst +++ b/Help/policy/CMP0024.rst @@ -17,6 +17,6 @@ The OLD behavior for this policy is to allow including the result of an export() command. The NEW behavior for this policy is not to allow including the result of an export() command. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0025.rst b/Help/policy/CMP0025.rst index fbb9b5e38..f3b39e3d2 100644 --- a/Help/policy/CMP0025.rst +++ b/Help/policy/CMP0025.rst @@ -3,12 +3,12 @@ CMP0025 Compiler id for Apple Clang is now AppleClang. -CMake >= 3.0.0 recognize that Apple Clang is a different compiler +CMake >= 3.0 recognize that Apple Clang is a different compiler than upstream Clang and that they have different version numbers. CMake now prefers to present this to projects by setting CMAKE__COMPILER_ID to "AppleClang" instead of "Clang". However, existing projects may assume the compiler id for Apple Clang is just -"Clang" as it was in CMake < 3.0.0. Therefore this policy determines +"Clang" as it was in CMake < 3.0. Therefore this policy determines for Apple Clang which compiler id to report in CMAKE__COMPILER_ID after is enabled by the project() or enable_language() command. @@ -16,6 +16,6 @@ enable_language() command. The OLD behavior for this policy is to use compiler id "Clang". The NEW behavior for this policy is to use compiler id "AppleClang". -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0026.rst b/Help/policy/CMP0026.rst index d3079dce2..460d2d1fe 100644 --- a/Help/policy/CMP0026.rst +++ b/Help/policy/CMP0026.rst @@ -20,6 +20,6 @@ The OLD behavior for this policy is to allow reading the LOCATION property from build-targets. The NEW behavior for this policy is to not to allow reading the LOCATION property from build-targets. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0027.rst b/Help/policy/CMP0027.rst index 352f7b84b..bedaffeec 100644 --- a/Help/policy/CMP0027.rst +++ b/Help/policy/CMP0027.rst @@ -20,6 +20,6 @@ The NEW behavior of this policy is to report an error if an entry in the INTERFACE_INCLUDE_DIRECTORIES of a generator-expression conditionally linked IMPORTED target does not exist. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0028.rst b/Help/policy/CMP0028.rst index ec318a057..24889ec08 100644 --- a/Help/policy/CMP0028.rst +++ b/Help/policy/CMP0028.rst @@ -18,6 +18,6 @@ even if the search term contains double-colons. The NEW behavior for this policy is to issue a FATAL_ERROR if a link dependency contains double-colons but is not an IMPORTED target or an ALIAS target. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0029.rst b/Help/policy/CMP0029.rst index 92ef1ec41..8f58a1220 100644 --- a/Help/policy/CMP0029.rst +++ b/Help/policy/CMP0029.rst @@ -6,5 +6,5 @@ The :command:`subdir_depends` command should not be called. The implementation of this command has been empty since December 2001 but was kept in CMake for compatibility for a long time. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0030.rst b/Help/policy/CMP0030.rst index 6fcffc36b..9e31b3854 100644 --- a/Help/policy/CMP0030.rst +++ b/Help/policy/CMP0030.rst @@ -7,5 +7,5 @@ This command was created in September 2001 to support VTK before modern CMake language and custom command capabilities. VTK has not used it in years. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0031.rst b/Help/policy/CMP0031.rst index e97dd0a54..6b89558f5 100644 --- a/Help/policy/CMP0031.rst +++ b/Help/policy/CMP0031.rst @@ -9,5 +9,5 @@ not work when the toolchain in use does not match the ABI of the CMake process. It has been mostly superseded by the :command:`macro` and :command:`function` commands. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0032.rst b/Help/policy/CMP0032.rst index 1b6be4854..f394a064e 100644 --- a/Help/policy/CMP0032.rst +++ b/Help/policy/CMP0032.rst @@ -9,5 +9,5 @@ has evolved since then but is not exposed through this command. The scanning capabilities of this command are very limited and this functionality is better achieved through dedicated outside tools. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0033.rst b/Help/policy/CMP0033.rst index 677e1c41b..b42006507 100644 --- a/Help/policy/CMP0033.rst +++ b/Help/policy/CMP0033.rst @@ -10,5 +10,5 @@ work for applications outside of the original build tree of a project. The functionality has been superseded by the :command:`export` and :command:`install(EXPORT)` commands. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0034.rst b/Help/policy/CMP0034.rst index 1dd6e5c6c..21339974b 100644 --- a/Help/policy/CMP0034.rst +++ b/Help/policy/CMP0034.rst @@ -7,5 +7,5 @@ This command was introduced in March 2001 to help build executables used to generate other files. This approach has long been replaced by :command:`add_executable` combined with :command:`add_custom_command`. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0035.rst b/Help/policy/CMP0035.rst index ebdaccc41..7335b221a 100644 --- a/Help/policy/CMP0035.rst +++ b/Help/policy/CMP0035.rst @@ -6,5 +6,5 @@ The :command:`variable_requires` command should not be called. This command was introduced in November 2001 to perform some conditional logic. It has long been replaced by the :command:`if` command. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0036.rst b/Help/policy/CMP0036.rst index 9a5a0fdaf..817f156e4 100644 --- a/Help/policy/CMP0036.rst +++ b/Help/policy/CMP0036.rst @@ -8,5 +8,5 @@ operating system and compiler combination. The command has long been documented as discouraged and replaced by the :variable:`CMAKE_SYSTEM` and :variable:`CMAKE__COMPILER` variables. -.. |disallowed_version| replace:: 3.0.0 +.. |disallowed_version| replace:: 3.0 .. include:: DISALLOWED_COMMAND.txt diff --git a/Help/policy/CMP0037.rst b/Help/policy/CMP0037.rst index f4d2f4ecf..4d485bf26 100644 --- a/Help/policy/CMP0037.rst +++ b/Help/policy/CMP0037.rst @@ -21,6 +21,6 @@ reserved names or which do not match the validity pattern. The NEW behavior for this policy is to report an error if an add_* command is used with an invalid target name. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0038.rst b/Help/policy/CMP0038.rst index e680780c4..df5af6aec 100644 --- a/Help/policy/CMP0038.rst +++ b/Help/policy/CMP0038.rst @@ -11,6 +11,6 @@ The OLD behavior for this policy is to ignore targets which list themselves in their own link implementation. The NEW behavior for this policy is to report an error if a target attempts to link to itself. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0039.rst b/Help/policy/CMP0039.rst index fb62eea2d..58ccc4186 100644 --- a/Help/policy/CMP0039.rst +++ b/Help/policy/CMP0039.rst @@ -12,6 +12,6 @@ libraries of utility targets. The NEW behavior for this policy is to report an error if an attempt is made to set the link libraries of a utility target. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0040.rst b/Help/policy/CMP0040.rst index 5d27f6230..77a3c8163 100644 --- a/Help/policy/CMP0040.rst +++ b/Help/policy/CMP0040.rst @@ -11,6 +11,6 @@ The OLD behavior for this policy is to ignore custom commands for unknown targets. The NEW behavior for this policy is to report an error if the target referenced in :command:`add_custom_command` is unknown. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0041.rst b/Help/policy/CMP0041.rst index acb85af56..5a47de0a1 100644 --- a/Help/policy/CMP0041.rst +++ b/Help/policy/CMP0041.rst @@ -20,6 +20,6 @@ contain a generator expression. The NEW behavior for this policy is to report an error if a generator expression appears in another location and the path is relative. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0042.rst b/Help/policy/CMP0042.rst index 0ed3bd1e8..fce870c7c 100644 --- a/Help/policy/CMP0042.rst +++ b/Help/policy/CMP0042.rst @@ -9,11 +9,11 @@ name. This was enabled by setting the target property flexible and powerful mechanism than ``@executable_path`` or ``@loader_path`` for locating shared libraries. -CMake 3.0.0 and later prefer this property to be ON by default. Projects +CMake 3.0 and later prefer this property to be ON by default. Projects wanting ``@rpath`` in a target's install name may remove any setting of the :prop_tgt:`INSTALL_NAME_DIR` and :variable:`CMAKE_INSTALL_NAME_DIR` variables. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0043.rst b/Help/policy/CMP0043.rst index 89a6cde34..43d6df2ab 100644 --- a/Help/policy/CMP0043.rst +++ b/Help/policy/CMP0043.rst @@ -34,6 +34,6 @@ The OLD behavior for this policy is to consume the content of the suffixed compilation command. The NEW behavior for this policy is to ignore the content of the :prop_tgt:`COMPILE_DEFINITIONS_` target property . -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0044.rst b/Help/policy/CMP0044.rst index edbadf536..4a3e21527 100644 --- a/Help/policy/CMP0044.rst +++ b/Help/policy/CMP0044.rst @@ -14,6 +14,6 @@ with the value in the ``_COMPILER_ID`` expression. The NEW behavior for this policy is to perform a case-sensitive comparison with the value in the ``_COMPILER_ID`` expression. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0045.rst b/Help/policy/CMP0045.rst index 748eb6acc..58c422fad 100644 --- a/Help/policy/CMP0045.rst +++ b/Help/policy/CMP0045.rst @@ -12,6 +12,6 @@ variable to a ``-NOTFOUND`` value. The NEW behavior for this policy is to issue a ``FATAL_ERROR`` if the command is called with a non-existent target. -This policy was introduced in CMake version 3.0.0. CMake version +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0046.rst b/Help/policy/CMP0046.rst index 5192dc7b8..1a3bc65ec 100644 --- a/Help/policy/CMP0046.rst +++ b/Help/policy/CMP0046.rst @@ -11,7 +11,7 @@ dependencies. The NEW behavior for this policy is to report an error if non-existent dependencies are listed in the :command:`add_dependencies` command. -This policy was introduced in CMake version 3.0.0. +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0047.rst b/Help/policy/CMP0047.rst index 7b87c4d52..c2d951bfa 100644 --- a/Help/policy/CMP0047.rst +++ b/Help/policy/CMP0047.rst @@ -10,7 +10,7 @@ The OLD behavior for this policy is to use the "GNU" compiler id for the qcc and QCC compiler drivers. The NEW behavior for this policy is to use the "QCC" compiler id for those drivers. -This policy was introduced in CMake version 3.0.0. +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly. diff --git a/Help/policy/CMP0048.rst b/Help/policy/CMP0048.rst index ae513292b..a54205ee8 100644 --- a/Help/policy/CMP0048.rst +++ b/Help/policy/CMP0048.rst @@ -3,7 +3,7 @@ CMP0048 The :command:`project` command manages VERSION variables. -CMake version 3.0.0 introduced the ``VERSION`` option of the :command:`project` +CMake version 3.0 introduced the ``VERSION`` option of the :command:`project` command to specify a project version as well as the name. In order to keep :variable:`PROJECT_VERSION` and related variables consistent with variable :variable:`PROJECT_NAME` it is necessary to set the VERSION variables @@ -16,7 +16,7 @@ The OLD behavior for this policy is to leave VERSION variables untouched. The NEW behavior for this policy is to set VERSION as documented by the :command:`project` command. -This policy was introduced in CMake version 3.0.0. +This policy was introduced in CMake version 3.0. CMake version |release| warns when the policy is not set and uses OLD behavior. Use the cmake_policy command to set it to OLD or NEW explicitly.