From bd176b430c6df4befa7c63338712882bfafc0aee Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 16 Jan 2025 09:08:49 -0500 Subject: [PATCH] Renumber post-3.31 development from 3.32 to 4.0 Issue: #26613 --- Help/command/LINK_LIBRARIES_LINKER.txt | 2 +- Help/command/cmake_instrumentation.rst | 2 +- Help/command/execute_process.rst | 4 ++-- Help/command/find_package.rst | 6 +++--- Help/command/try_compile.rst | 2 +- Help/manual/OPTIONS_BUILD.txt | 2 +- Help/manual/cmake-generator-expressions.7.rst | 2 +- Help/manual/cmake-instrumentation.7.rst | 2 +- Help/manual/cmake-policies.7.rst | 4 ++-- Help/manual/cmake.1.rst | 2 +- Help/manual/ctest.1.rst | 2 +- Help/policy/CMP0181.rst | 6 +++--- Help/policy/CMP0182.rst | 6 +++--- Help/policy/CMP0183.rst | 6 +++--- Help/prop_dir/VS_SOLUTION_ITEMS.rst | 2 +- .../prop_sf/VS_CUSTOM_COMMAND_DISABLE_PARALLEL_BUILD.rst | 2 +- Help/prop_tgt/AIX_SHARED_LIBRARY_ARCHIVE.rst | 2 +- Help/prop_tgt/DEBUGGER_WORKING_DIRECTORY.rst | 2 +- Help/prop_tgt/Fortran_BUILDING_INSTRINSIC_MODULES.rst | 2 +- Help/prop_tgt/Fortran_BUILDING_INTRINSIC_MODULES.rst | 2 +- Help/prop_tgt/LINK_WARNING_AS_ERROR.rst | 2 +- Help/prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt | 2 +- Help/prop_tgt/Swift_MODULE_DIRECTORY.rst | 2 +- Help/prop_tgt/UNITY_BUILD_RELOCATABLE.rst | 2 +- Help/prop_tgt/XCODE_SCHEME_LLDB_INIT_FILE.rst | 2 +- Help/prop_tgt/XCODE_SCHEME_TEST_CONFIGURATION.rst | 2 +- Help/variable/CMAKE_DEBUGGER_WORKING_DIRECTORY.rst | 2 +- .../CMAKE_EXECUTE_PROCESS_COMMAND_ERROR_IS_FATAL.rst | 2 +- Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG.rst | 2 +- Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG_SEP.rst | 2 +- Help/variable/CMAKE_LANG_LINK_MODE.rst | 2 +- Help/variable/CMAKE_LINK_WARNING_AS_ERROR.rst | 2 +- Help/variable/CMAKE_LIST_FILE_NAME.rst | 2 +- Help/variable/CMAKE_XCODE_SCHEME_LLDB_INIT_FILE.rst | 2 +- Help/variable/CMAKE_XCODE_SCHEME_TEST_CONFIGURATION.rst | 2 +- Modules/ExternalProject.cmake | 2 +- Modules/FeatureSummary.cmake | 2 +- Modules/FindBISON.cmake | 8 ++++---- Modules/FindFLEX.cmake | 6 +++--- Modules/FindGDAL.cmake | 2 +- Modules/FindPatch.cmake | 2 +- Modules/FindProtobuf.cmake | 2 +- Modules/FindPython.cmake | 2 +- Modules/FindPython2.cmake | 2 +- Modules/FindPython3.cmake | 2 +- Source/cmDependsFortran.cxx | 2 +- Source/cmGeneratorTarget.cxx | 2 +- Source/cmPolicies.h | 9 ++++----- Tests/RunCMake/ARCHIVER-prefix/CMakeLists.txt | 2 +- Tests/RunCMake/LinkWarningAsError/CMakeLists.txt | 2 +- .../target_link_libraries-LINKER-prefix/CMakeLists.txt | 2 +- 51 files changed, 69 insertions(+), 70 deletions(-) diff --git a/Help/command/LINK_LIBRARIES_LINKER.txt b/Help/command/LINK_LIBRARIES_LINKER.txt index 7dc6b8410f..45669f2fb0 100644 --- a/Help/command/LINK_LIBRARIES_LINKER.txt +++ b/Help/command/LINK_LIBRARIES_LINKER.txt @@ -1,7 +1,7 @@ Handling Compiler Driver Differences ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. versionadded:: 3.32 +.. versionadded:: 4.0 To pass options to the linker tool, each compiler driver has its own syntax. The ``LINKER:`` prefix and ``,`` separator can be used to specify, in a portable diff --git a/Help/command/cmake_instrumentation.rst b/Help/command/cmake_instrumentation.rst index 48b288a3aa..4eb0c22ed4 100644 --- a/Help/command/cmake_instrumentation.rst +++ b/Help/command/cmake_instrumentation.rst @@ -1,7 +1,7 @@ cmake_instrumentation --------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Enables interacting with the :manual:`CMake Instrumentation API `. diff --git a/Help/command/execute_process.rst b/Help/command/execute_process.rst index a554aa11bb..ed440b59cf 100644 --- a/Help/command/execute_process.rst +++ b/Help/command/execute_process.rst @@ -185,12 +185,12 @@ Options: ``NONE`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Regardless of any of the commands failing, the ``execute_process()`` command will not halt with an error. - .. versionadded:: 3.32 + .. versionadded:: 4.0 If not provided, the :variable:`CMAKE_EXECUTE_PROCESS_COMMAND_ERROR_IS_FATAL` variable diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst index 0aac9b2ed5..6ad520281c 100644 --- a/Help/command/find_package.rst +++ b/Help/command/find_package.rst @@ -373,7 +373,7 @@ Each entry is meant for installation trees following Windows (``W``), UNIX .. [#p1] .. versionadded:: 3.25 -.. [#p2] .. versionadded:: 3.32 +.. [#p2] .. versionadded:: 4.0 On systems supporting macOS :prop_tgt:`FRAMEWORK` and :prop_tgt:`BUNDLE`, the following directories are searched for Frameworks or Application Bundles @@ -393,7 +393,7 @@ containing a configuration file: ``/.app/Contents/Resources/CMake/`` A =============================================================== ========== -.. [#p3] .. versionadded:: 3.32 +.. [#p3] .. versionadded:: 4.0 When searching the above paths, ``find_package`` will only look for ``.cps`` files in search paths which contain ``/cps/``, and will only look for @@ -611,7 +611,7 @@ before calling ``find_package``. Added the ``CMAKE_FIND_USE_`` variables to globally disable various search locations. -.. versionchanged:: 3.32 +.. versionchanged:: 4.0 The variables :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER` and :variable:`CMAKE_FIND_PACKAGE_SORT_DIRECTION` now also control the order in which ``find_package`` searches directories matching the glob expression diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index c0ebe1d0f9..822ec9fa55 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -351,7 +351,7 @@ as needed to honor the state of the calling project: * :policy:`CMP0157` * :policy:`CMP0181` -.. versionadded:: 3.32 +.. versionadded:: 4.0 The current setting of :policy:`CMP0181` policy is propagated through to the generated test project. diff --git a/Help/manual/OPTIONS_BUILD.txt b/Help/manual/OPTIONS_BUILD.txt index ebd94f24a4..4d8f88e588 100644 --- a/Help/manual/OPTIONS_BUILD.txt +++ b/Help/manual/OPTIONS_BUILD.txt @@ -121,7 +121,7 @@ .. option:: --project-file - .. versionadded:: 3.32 + .. versionadded:: 4.0 Specify an alternate project file name. diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 33dfccb5c6..bc60567a7d 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -797,7 +797,7 @@ in cmake-style format. .. genex:: $ - .. versionadded:: 3.32 + .. versionadded:: 4.0 Returns ``path`` converted into a native format with platform-specific slashes (``\`` on Windows hosts and ``/`` elsewhere). diff --git a/Help/manual/cmake-instrumentation.7.rst b/Help/manual/cmake-instrumentation.7.rst index b806d517eb..a0c43d3641 100644 --- a/Help/manual/cmake-instrumentation.7.rst +++ b/Help/manual/cmake-instrumentation.7.rst @@ -3,7 +3,7 @@ cmake-instrumentation(7) ************************ -.. versionadded:: 3.32 +.. versionadded:: 4.0 .. only:: html diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index 216f17adcb..35e94039e9 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -51,8 +51,8 @@ The :variable:`CMAKE_MINIMUM_REQUIRED_VERSION` variable may also be used to determine whether to report an error on use of deprecated macros or functions. -Policies Introduced by CMake 3.32 -================================= +Policies Introduced by CMake 4.0 +================================ .. toctree:: :maxdepth: 1 diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index a39ecc89c8..9fa145d02e 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -515,7 +515,7 @@ Options .. option:: --link-no-warning-as-error - .. versionadded:: 3.32 + .. versionadded:: 4.0 Ignore target property :prop_tgt:`LINK_WARNING_AS_ERROR` and variable :variable:`CMAKE_LINK_WARNING_AS_ERROR`, preventing warnings from being diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index b2b8bf5e7f..e8aa08ec2f 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst @@ -367,7 +367,7 @@ Run Tests use interactive mode, and follow the Windows documentation on `Collecting User-Mode Dumps`_. - .. versionchanged:: 3.32 + .. versionchanged:: 4.0 Windows Error Reporting (WER) is enabled in interactive mode, so test processes may show debug popup windows and create core dumps. This was made possible by updates to ``libuv``. diff --git a/Help/policy/CMP0181.rst b/Help/policy/CMP0181.rst index 18fb8db9dd..807ab05e37 100644 --- a/Help/policy/CMP0181.rst +++ b/Help/policy/CMP0181.rst @@ -1,7 +1,7 @@ CMP0181 ------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 The :variable:`CMAKE_EXE_LINKER_FLAGS`, :variable:`CMAKE_EXE_LINKER_FLAGS_`, @@ -13,7 +13,7 @@ re-quoted and support the ``LINKER:`` prefix. CMake 3.31 and below use the content of these variables as is. -CMake 3.32 and above parse the content of these variables and manage the +CMake 4.0 and above parse the content of these variables and manage the escaping of special characters. Moreover, the ``LINKER:`` prefix is now recognized and expanded. @@ -34,7 +34,7 @@ The ``NEW`` behavior of this policy is to parse and re-quote the content of the and :variable:`CMAKE_MODULE_LINKER_FLAGS_` variables as well as to expand the ``LINKER:`` prefix. -.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.32 +.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn .. include:: STANDARD_ADVICE.txt diff --git a/Help/policy/CMP0182.rst b/Help/policy/CMP0182.rst index 500d8412bf..4cc8603e1f 100644 --- a/Help/policy/CMP0182.rst +++ b/Help/policy/CMP0182.rst @@ -1,7 +1,7 @@ CMP0182 ------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Create shared library archives by default on AIX. @@ -14,7 +14,7 @@ file is placed inside an archive ``.a`` file. However, the behavior was disabled by default for compatibility with existing projects that do not set :prop_tgt:`AIX_SHARED_LIBRARY_ARCHIVE`. -CMake 3.32 and above prefer, when :prop_tgt:`AIX_SHARED_LIBRARY_ARCHIVE` +CMake 4.0 and above prefer, when :prop_tgt:`AIX_SHARED_LIBRARY_ARCHIVE` is not set, to enable creation of shared library archives by default because it is the preferred convention on AIX. This policy provides compatibility for projects that have not been updated. @@ -24,7 +24,7 @@ archives when :prop_tgt:`AIX_SHARED_LIBRARY_ARCHIVE` is not set. The ``NEW`` behavior for this policy is to enable shared library archives when :prop_tgt:`AIX_SHARED_LIBRARY_ARCHIVE` is not set. -.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.32 +.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: does *not* warn .. include:: STANDARD_ADVICE.txt diff --git a/Help/policy/CMP0183.rst b/Help/policy/CMP0183.rst index 5c00cc185b..5d1b59d17a 100644 --- a/Help/policy/CMP0183.rst +++ b/Help/policy/CMP0183.rst @@ -1,14 +1,14 @@ CMP0183 ------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 :command:`add_feature_info` supports full :ref:`Condition Syntax`. The ```` parameter accepts a :ref:`semicolon-separated list ` of conditions. CMake 3.31 and lower evaluate each ``condition`` as ``if(${condition})``, which does not properly handle -conditions with nested paren groups. CMake 3.32 and above instead prefer +conditions with nested paren groups. CMake 4.0 and above instead prefer to evaluate each ``condition`` as ``if()``, where ```` is re-parsed as if literally written in a call to :command:`if`. This allows expressions like:: @@ -26,7 +26,7 @@ to be re-written as:: Policy ``CMP0183`` provides compatibility for projects that have not been updated to expect the new behavior. -.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 3.32 +.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.0 .. |WARNS_OR_DOES_NOT_WARN| replace:: warns .. include:: STANDARD_ADVICE.txt diff --git a/Help/prop_dir/VS_SOLUTION_ITEMS.rst b/Help/prop_dir/VS_SOLUTION_ITEMS.rst index 435b9a7dca..edc86d9bfe 100644 --- a/Help/prop_dir/VS_SOLUTION_ITEMS.rst +++ b/Help/prop_dir/VS_SOLUTION_ITEMS.rst @@ -1,7 +1,7 @@ VS_SOLUTION_ITEMS ----------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Specify solution level items included in the generated Visual Studio solution. diff --git a/Help/prop_sf/VS_CUSTOM_COMMAND_DISABLE_PARALLEL_BUILD.rst b/Help/prop_sf/VS_CUSTOM_COMMAND_DISABLE_PARALLEL_BUILD.rst index f8bb93dc2d..e15a23956c 100644 --- a/Help/prop_sf/VS_CUSTOM_COMMAND_DISABLE_PARALLEL_BUILD.rst +++ b/Help/prop_sf/VS_CUSTOM_COMMAND_DISABLE_PARALLEL_BUILD.rst @@ -1,7 +1,7 @@ VS_CUSTOM_COMMAND_DISABLE_PARALLEL_BUILD ---------------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 A boolean property that disables parallel building for the source file in Visual Studio if it is built via :command:`add_custom_command` and is the diff --git a/Help/prop_tgt/AIX_SHARED_LIBRARY_ARCHIVE.rst b/Help/prop_tgt/AIX_SHARED_LIBRARY_ARCHIVE.rst index a40caf4589..456174a1e2 100644 --- a/Help/prop_tgt/AIX_SHARED_LIBRARY_ARCHIVE.rst +++ b/Help/prop_tgt/AIX_SHARED_LIBRARY_ARCHIVE.rst @@ -22,7 +22,7 @@ is created by :command:`add_library`. Imported targets must explicitly enable :prop_tgt:`!AIX_SHARED_LIBRARY_ARCHIVE` if they import an AIX shared library archive. -.. versionchanged:: 3.32 +.. versionchanged:: 4.0 For a non-imported target, if this property is not set, the default is *enabled*. See policy :policy:`CMP0182`. diff --git a/Help/prop_tgt/DEBUGGER_WORKING_DIRECTORY.rst b/Help/prop_tgt/DEBUGGER_WORKING_DIRECTORY.rst index a95a465eb2..757112f991 100644 --- a/Help/prop_tgt/DEBUGGER_WORKING_DIRECTORY.rst +++ b/Help/prop_tgt/DEBUGGER_WORKING_DIRECTORY.rst @@ -1,7 +1,7 @@ DEBUGGER_WORKING_DIRECTORY -------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Sets the local debugger working directory for C++ targets. The property value may use diff --git a/Help/prop_tgt/Fortran_BUILDING_INSTRINSIC_MODULES.rst b/Help/prop_tgt/Fortran_BUILDING_INSTRINSIC_MODULES.rst index 5f03dcc1ee..d0487de0a1 100644 --- a/Help/prop_tgt/Fortran_BUILDING_INSTRINSIC_MODULES.rst +++ b/Help/prop_tgt/Fortran_BUILDING_INSTRINSIC_MODULES.rst @@ -1,7 +1,7 @@ Fortran_BUILDING_INSTRINSIC_MODULES ----------------------------------- -.. deprecated:: 3.32 +.. deprecated:: 4.0 Please use the :prop_tgt:`Fortran_BUILDING_INTRINSIC_MODULES` instead. diff --git a/Help/prop_tgt/Fortran_BUILDING_INTRINSIC_MODULES.rst b/Help/prop_tgt/Fortran_BUILDING_INTRINSIC_MODULES.rst index 149f728b96..8e0f71ba96 100644 --- a/Help/prop_tgt/Fortran_BUILDING_INTRINSIC_MODULES.rst +++ b/Help/prop_tgt/Fortran_BUILDING_INTRINSIC_MODULES.rst @@ -1,7 +1,7 @@ Fortran_BUILDING_INTRINSIC_MODULES ---------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Instructs the CMake Fortran preprocessor that the target is building Fortran intrinsics for building a Fortran compiler. diff --git a/Help/prop_tgt/LINK_WARNING_AS_ERROR.rst b/Help/prop_tgt/LINK_WARNING_AS_ERROR.rst index 61b78461c1..044c867ac2 100644 --- a/Help/prop_tgt/LINK_WARNING_AS_ERROR.rst +++ b/Help/prop_tgt/LINK_WARNING_AS_ERROR.rst @@ -1,7 +1,7 @@ LINK_WARNING_AS_ERROR --------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Specify whether to treat warnings on link as errors. If enabled, adds a flag to treat warnings on link as errors. diff --git a/Help/prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt b/Help/prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt index 955cb9cad2..16a989a687 100644 --- a/Help/prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt +++ b/Help/prop_tgt/STATIC_LIBRARY_OPTIONS_ARCHIVER.txt @@ -1,7 +1,7 @@ Handling Archiver Driver Differences ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. versionadded:: 3.32 +.. versionadded:: 4.0 To pass options to the archiver tool, each compiler driver has its own syntax. The ``ARCHIVER:`` prefix and ``,`` separator can be used to specify, in a portable diff --git a/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst b/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst index 63ea0ae588..af6bad016e 100644 --- a/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst +++ b/Help/prop_tgt/Swift_MODULE_DIRECTORY.rst @@ -11,7 +11,7 @@ placed in the build directory corresponding to the target's source directory. If the variable :variable:`CMAKE_Swift_MODULE_DIRECTORY` is set when a target is created its value is used to initialize this property. -.. versionadded:: 3.32 +.. versionadded:: 4.0 The property value may use :manual:`generator expressions `. diff --git a/Help/prop_tgt/UNITY_BUILD_RELOCATABLE.rst b/Help/prop_tgt/UNITY_BUILD_RELOCATABLE.rst index daac7fd149..74ef3b9477 100644 --- a/Help/prop_tgt/UNITY_BUILD_RELOCATABLE.rst +++ b/Help/prop_tgt/UNITY_BUILD_RELOCATABLE.rst @@ -1,7 +1,7 @@ UNITY_BUILD_RELOCATABLE ----------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 By default, the unity file generated when :prop_tgt:`UNITY_BUILD` is enabled uses absolute paths to reference the original source files. This causes the diff --git a/Help/prop_tgt/XCODE_SCHEME_LLDB_INIT_FILE.rst b/Help/prop_tgt/XCODE_SCHEME_LLDB_INIT_FILE.rst index ce06edab91..eeb73fb5cd 100644 --- a/Help/prop_tgt/XCODE_SCHEME_LLDB_INIT_FILE.rst +++ b/Help/prop_tgt/XCODE_SCHEME_LLDB_INIT_FILE.rst @@ -1,7 +1,7 @@ XCODE_SCHEME_LLDB_INIT_FILE --------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Property value for ``LLDB Init File`` in the Info section of the generated Xcode scheme. In case the value contains generator diff --git a/Help/prop_tgt/XCODE_SCHEME_TEST_CONFIGURATION.rst b/Help/prop_tgt/XCODE_SCHEME_TEST_CONFIGURATION.rst index 6dad09f78c..7128271269 100644 --- a/Help/prop_tgt/XCODE_SCHEME_TEST_CONFIGURATION.rst +++ b/Help/prop_tgt/XCODE_SCHEME_TEST_CONFIGURATION.rst @@ -1,7 +1,7 @@ XCODE_SCHEME_TEST_CONFIGURATION ------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Set the build configuration to test the target. diff --git a/Help/variable/CMAKE_DEBUGGER_WORKING_DIRECTORY.rst b/Help/variable/CMAKE_DEBUGGER_WORKING_DIRECTORY.rst index bc1e564636..be4020e8b9 100644 --- a/Help/variable/CMAKE_DEBUGGER_WORKING_DIRECTORY.rst +++ b/Help/variable/CMAKE_DEBUGGER_WORKING_DIRECTORY.rst @@ -1,7 +1,7 @@ CMAKE_DEBUGGER_WORKING_DIRECTORY -------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 This variable is used to initialize the :prop_tgt:`DEBUGGER_WORKING_DIRECTORY` property on each target as it is created. See that target property diff --git a/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ERROR_IS_FATAL.rst b/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ERROR_IS_FATAL.rst index 0be51a9fdb..54e17d65bc 100644 --- a/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ERROR_IS_FATAL.rst +++ b/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ERROR_IS_FATAL.rst @@ -1,7 +1,7 @@ CMAKE_EXECUTE_PROCESS_COMMAND_ERROR_IS_FATAL -------------------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Specify a default for the :command:`execute_process` command's ``COMMAND_ERROR_IS_FATAL`` option. This variable is ignored when a diff --git a/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG.rst b/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG.rst index 404b4f151f..c4a5d4da44 100644 --- a/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG.rst +++ b/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG.rst @@ -1,7 +1,7 @@ CMAKE__ARCHIVER_WRAPPER_FLAG ---------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Defines the syntax of compiler driver option to pass options to the archiver tool. It will be used to translate the ``ARCHIVER:`` prefix in the static diff --git a/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG_SEP.rst b/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG_SEP.rst index 43969f2a8a..9822fd8a31 100644 --- a/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG_SEP.rst +++ b/Help/variable/CMAKE_LANG_ARCHIVER_WRAPPER_FLAG_SEP.rst @@ -1,7 +1,7 @@ CMAKE__ARCHIVER_WRAPPER_FLAG_SEP -------------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 This variable is used with :variable:`CMAKE__ARCHIVER_WRAPPER_FLAG` variable to format ``ARCHIVER:`` prefix in the static library options diff --git a/Help/variable/CMAKE_LANG_LINK_MODE.rst b/Help/variable/CMAKE_LANG_LINK_MODE.rst index 1dbb538ff2..f69818f973 100644 --- a/Help/variable/CMAKE_LANG_LINK_MODE.rst +++ b/Help/variable/CMAKE_LANG_LINK_MODE.rst @@ -1,7 +1,7 @@ CMAKE__LINK_MODE ---------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Defines how the link step is done. The possible values are: diff --git a/Help/variable/CMAKE_LINK_WARNING_AS_ERROR.rst b/Help/variable/CMAKE_LINK_WARNING_AS_ERROR.rst index 7a64657749..6e754efbb5 100644 --- a/Help/variable/CMAKE_LINK_WARNING_AS_ERROR.rst +++ b/Help/variable/CMAKE_LINK_WARNING_AS_ERROR.rst @@ -1,7 +1,7 @@ CMAKE_LINK_WARNING_AS_ERROR --------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Specify whether to treat warnings on link as errors. diff --git a/Help/variable/CMAKE_LIST_FILE_NAME.rst b/Help/variable/CMAKE_LIST_FILE_NAME.rst index dd35136be1..7276cfa622 100644 --- a/Help/variable/CMAKE_LIST_FILE_NAME.rst +++ b/Help/variable/CMAKE_LIST_FILE_NAME.rst @@ -1,7 +1,7 @@ CMAKE_LIST_FILE_NAME -------------------- - .. versionadded:: 3.32 + .. versionadded:: 4.0 The name of the CMake project files. This determines the top-level file processed when CMake is configured, and the file processed by diff --git a/Help/variable/CMAKE_XCODE_SCHEME_LLDB_INIT_FILE.rst b/Help/variable/CMAKE_XCODE_SCHEME_LLDB_INIT_FILE.rst index 146f05d939..7328dafd91 100644 --- a/Help/variable/CMAKE_XCODE_SCHEME_LLDB_INIT_FILE.rst +++ b/Help/variable/CMAKE_XCODE_SCHEME_LLDB_INIT_FILE.rst @@ -1,7 +1,7 @@ CMAKE_XCODE_SCHEME_LLDB_INIT_FILE --------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Property value for ``LLDB Init File`` in the Info section of the generated Xcode scheme. diff --git a/Help/variable/CMAKE_XCODE_SCHEME_TEST_CONFIGURATION.rst b/Help/variable/CMAKE_XCODE_SCHEME_TEST_CONFIGURATION.rst index caa5cf2dbc..3f78fbd4a0 100644 --- a/Help/variable/CMAKE_XCODE_SCHEME_TEST_CONFIGURATION.rst +++ b/Help/variable/CMAKE_XCODE_SCHEME_TEST_CONFIGURATION.rst @@ -1,7 +1,7 @@ CMAKE_XCODE_SCHEME_TEST_CONFIGURATION ------------------------------------- -.. versionadded:: 3.32 +.. versionadded:: 4.0 Set the build configuration to test the target. diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 7d95bdf6d6..f19934eddc 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -750,7 +750,7 @@ step. This can be overridden with custom install commands if required. has additional documentation. ``INSTALL_JOB_SERVER_AWARE `` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Specifies that the install step is aware of the GNU Make job server. See the :command:`add_custom_command` documentation of its diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake index 45dad7b24d..a96043e94c 100644 --- a/Modules/FeatureSummary.cmake +++ b/Modules/FeatureSummary.cmake @@ -668,7 +668,7 @@ endfunction() .. versionchanged:: 3.8 ```` can be a list of conditions. - .. versionchanged:: 3.32 + .. versionchanged:: 4.0 Full :ref:`Condition Syntax` is now supported for ````. See policy :policy:`CMP0183`. diff --git a/Modules/FindBISON.cmake b/Modules/FindBISON.cmake index a2c37cfe8f..761a503f7f 100644 --- a/Modules/FindBISON.cmake +++ b/Modules/FindBISON.cmake @@ -47,13 +47,13 @@ the token list. The options are: ``OPTIONS ...`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 A :ref:`semicolon-separated list ` of options added to the ``bison`` command line. ``COMPILE_FLAGS `` - .. deprecated:: 3.32 + .. deprecated:: 4.0 Space-separated bison options added to the ``bison`` command line. A :ref:`;-list ` will not work. @@ -96,12 +96,12 @@ The macro defines the following variables: report. ``BISON__OPTIONS`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Options used in the ``bison`` command line. ``BISON__COMPILE_FLAGS`` - .. deprecated:: 3.32 + .. deprecated:: 4.0 Options used in the ``bison`` command line. This variable is deprecated in favor of ``BISON__OPTIONS`` variable. diff --git a/Modules/FindFLEX.cmake b/Modules/FindFLEX.cmake index 9cbe721cde..171419871b 100644 --- a/Modules/FindFLEX.cmake +++ b/Modules/FindFLEX.cmake @@ -47,13 +47,13 @@ custom command. The options are: ``OPTIONS ...`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 A :ref:`semicolon-separated list ` of flex options added to the ``flex`` command line. ``COMPILE_FLAGS `` - .. deprecated:: 3.32 + .. deprecated:: 4.0 Space-separated flex options added to the ``flex`` command line. A :ref:`;-list ` will not work. @@ -84,7 +84,7 @@ The macro defines the following variables: The header flex output, if any. ``FLEX__OPTIONS`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Options used in the ``flex`` command line. diff --git a/Modules/FindGDAL.cmake b/Modules/FindGDAL.cmake index b600e581cd..0379af7e3e 100644 --- a/Modules/FindGDAL.cmake +++ b/Modules/FindGDAL.cmake @@ -7,7 +7,7 @@ FindGDAL Find Geospatial Data Abstraction Library (GDAL). -.. deprecated:: 3.32 +.. deprecated:: 4.0 GDAL 3.5 and above provide a ``GDALConfig.cmake`` package configuration file. Call ``find_package(GDAL CONFIG)`` to find it directly and avoid using this find module. For further details, see `GDAL's documentation on CMake diff --git a/Modules/FindPatch.cmake b/Modules/FindPatch.cmake index 65a21bee30..6a8f794e80 100644 --- a/Modules/FindPatch.cmake +++ b/Modules/FindPatch.cmake @@ -19,7 +19,7 @@ The following :prop_tgt:`IMPORTED` targets are also defined: ``Patch::patch`` The command-line executable. - .. versionchanged:: 3.32 + .. versionchanged:: 4.0 Imported target is defined only when :prop_gbl:`CMAKE_ROLE` is ``PROJECT``. Example usage: diff --git a/Modules/FindProtobuf.cmake b/Modules/FindProtobuf.cmake index 1d69c57e58..c5a351291e 100644 --- a/Modules/FindProtobuf.cmake +++ b/Modules/FindProtobuf.cmake @@ -225,7 +225,7 @@ Example: Additional arguments that are forwarded to protoc. ``PROTOC_EXE `` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Command name, path, or CMake executable used to generate protobuf bindings. If omitted, ``protobuf::protoc`` is used. diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake index 5c1e1ed6ba..d2a1457886 100644 --- a/Modules/FindPython.cmake +++ b/Modules/FindPython.cmake @@ -560,7 +560,7 @@ can be controlled with the following variable: requirements. ``Python_ARTIFACTS_PREFIX`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Define a custom prefix which will be used for the definition of all the result variables, targets, and commands. By using this variable, this module diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake index 0b682fd867..b69237228e 100644 --- a/Modules/FindPython2.cmake +++ b/Modules/FindPython2.cmake @@ -441,7 +441,7 @@ can be controlled with the following variable: requirements. ``Python2_ARTIFACTS_PREFIX`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Define a custom prefix which will be used for the definition of all the result variables, targets, and commands. By using this variable, this module diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake index 2b2d25372d..0f71da58b8 100644 --- a/Modules/FindPython3.cmake +++ b/Modules/FindPython3.cmake @@ -558,7 +558,7 @@ can be controlled with the following variable: requirements. ``Python3_ARTIFACTS_PREFIX`` - .. versionadded:: 3.32 + .. versionadded:: 4.0 Define a custom prefix which will be used for the definition of all the result variables, targets, and commands. By using this variable, this module diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index a5db6c864c..8b070addfc 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -166,7 +166,7 @@ bool cmDependsFortran::Finalize(std::ostream& makeDepends, mod_dir = this->LocalGenerator->GetCurrentBinaryDirectory(); } - // ATTENTION Before 3.32 the property name was misspelled. + // ATTENTION Before 4.0 the property name was misspelled. // Check the correct name first and than the old name. bool building_intrinsics = !mf->GetSafeDefinition("CMAKE_Fortran_TARGET_BUILDING_INTRINSIC_MODULES") diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index e46adab137..e2a0f2193c 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -4046,7 +4046,7 @@ std::string cmGeneratorTarget::GetFortranModuleDirectory( bool cmGeneratorTarget::IsFortranBuildingIntrinsicModules() const { - // ATTENTION Before 3.32 the property name was misspelled. + // ATTENTION Before 4.0 the property name was misspelled. // Check the correct name first and than the old name. if (cmValue prop = this->GetProperty("Fortran_BUILDING_INTRINSIC_MODULES")) { return prop.IsOn(); diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index cb0b7a0975..67d3d11c66 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -547,13 +547,12 @@ class cmMakefile; "project() always sets _* as normal variables.", 3, \ 31, 0, WARN) \ SELECT(POLICY, CMP0181, \ - "Link command-line fragment variables are parsed and re-quoted.", 3, \ - 32, 0, WARN) \ + "Link command-line fragment variables are parsed and re-quoted.", 4, \ + 0, 0, WARN) \ SELECT(POLICY, CMP0182, \ - "Create shared library archives by default on AIX.", 3, 32, 0, WARN) \ + "Create shared library archives by default on AIX.", 4, 0, 0, WARN) \ SELECT(POLICY, CMP0183, \ - "add_feature_info() supports full Condition Syntax.", 3, 32, 0, \ - WARN) + "add_feature_info() supports full Condition Syntax.", 4, 0, 0, WARN) #define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1) #define CM_FOR_EACH_POLICY_ID(POLICY) \ diff --git a/Tests/RunCMake/ARCHIVER-prefix/CMakeLists.txt b/Tests/RunCMake/ARCHIVER-prefix/CMakeLists.txt index 9051bd3863..a3382b3b7b 100644 --- a/Tests/RunCMake/ARCHIVER-prefix/CMakeLists.txt +++ b/Tests/RunCMake/ARCHIVER-prefix/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.31...3.32) +cmake_minimum_required(VERSION 3.31...4.0) project(${RunCMake_TEST} LANGUAGES NONE) diff --git a/Tests/RunCMake/LinkWarningAsError/CMakeLists.txt b/Tests/RunCMake/LinkWarningAsError/CMakeLists.txt index 7053dbba15..674c6528da 100644 --- a/Tests/RunCMake/LinkWarningAsError/CMakeLists.txt +++ b/Tests/RunCMake/LinkWarningAsError/CMakeLists.txt @@ -1,3 +1,3 @@ -cmake_minimum_required(VERSION 3.31...3.32) +cmake_minimum_required(VERSION 3.31...4.0) project(${RunCMake_TEST} NONE) include(${RunCMake_TEST}.cmake) diff --git a/Tests/RunCMake/target_link_libraries-LINKER-prefix/CMakeLists.txt b/Tests/RunCMake/target_link_libraries-LINKER-prefix/CMakeLists.txt index a8cb6d1811..041389fcc1 100644 --- a/Tests/RunCMake/target_link_libraries-LINKER-prefix/CMakeLists.txt +++ b/Tests/RunCMake/target_link_libraries-LINKER-prefix/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.30...3.32) +cmake_minimum_required(VERSION 3.30...4.0) project(${RunCMake_TEST} LANGUAGES NONE)