summaryrefslogtreecommitdiffstats
path: root/Help/release
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Deprecate compatibility with CMake versions older than 3.5Brad King2023-02-111-0/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue a deprecation warning on calls to `cmake_minimum_required` or `cmake_policy` that set policies based on versions older than 3.5. Note that the effective policy version includes `...<max>` treatment. Update the check from commit 5845c218d7 (Deprecate compatibility with CMake versions older than 2.8.12, 2020-06-12, v3.19.0-rc1~629^2).
* | | | Deprecate Visual Studio 9 2008 generatorBrad King2023-02-081-0/+5
| | | | | | | | | | | | | | | | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning.
* | | | <LANG>_LINKER_LAUNCHER: Allow generator expressionsKyle Edwards2023-02-021-0/+5
| | | |
* | | | Begin post-3.26 developmentBrad King2023-02-012-0/+9
|/ / /
* | | Help: Drop development topic notes to prepare releaseBrad King2023-02-012-9/+0
| | | | | | | | | | | | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* | | Help: Organize and revise 3.26 release notesBrad King2023-02-011-62/+116
| | | | | | | | | | | | | | | | | | | | | | | | Add section headers similar to the 3.25 release notes and move each individual bullet into an appropriate section. Revise a few bullets. Add a bullet for `FindImageMagick` that was accidentally left out when its changes were made.
* | | Help: Consolidate 3.26 release notesBrad King2023-02-0127-160/+119
| | | | | | | | | | | | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.26.rst`.
* | | Help: Document experimental feature gate affecting CXX_SCAN_FOR_MODULESBrad King2023-02-011-5/+0
| | | | | | | | | | | | | | | | | | Also drop the release note for `CXX_SCAN_FOR_MODULES`, as the rest of the C++ modules support has not yet been mentioned in release notes (since it is still experimental).
* | | FindCUDAToolkit: Add support for CUDA::nvrtc_staticRobert Maynard2023-01-201-0/+5
| | |
* | | CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32Brad King2023-01-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to CMake 2.8.4 (released in 2011), we defined `WIN32` on CYGWIN. That was removed, but an undocumented `CMAKE_LEGACY_CYGWIN_WIN32` compatibility mode was left to help projects transition. Only projects that do not require at least 2.8.4 as their minimum CMake version need the compatibility mode. We've also long warned about projects that do not require at least 2.8.12, so it is now reasonable to remove the legacy compatibility mode.
* | | Merge branch 'release-3.25'Brad King2023-01-191-0/+4
|\ \ \ | | |/ | |/|
| * | CMake 3.25.2v3.25.2Brad King2023-01-191-0/+4
| | |
* | | message: Add CONFIGURE_LOG mode to record a message in the configure logBrad King2023-01-181-0/+3
| | | | | | | | | | | | | | | | | | | | | Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)` that records messages in the configure log. Issue: #23200
* | | Merge topic 'configure-log'Brad King2023-01-171-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48292c8624 try_compile: Record stack of in-progess checks in configure log d4bf7d80c6 try_compile: Add a NO_LOG option to skip recording in the configure log 9d9e8450a8 try_compile: Add optional LOG_DESCRIPTION to record in configure log 65ed5c2ca8 try_compile: Report underlying error when COPY_FILE fails 0418efb7ad Tests: Add explicit ConfigureLog case to RunCMake.try_compile 189557bd74 cmake: Make entire in-progress check stack available internally 96ce3581ab Help: Clarify backtrace order in cmake-configure-log(7) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8072
| * | | try_compile: Add a NO_LOG option to skip recording in the configure logBrad King2023-01-161-0/+4
| | | |
| * | | try_compile: Add optional LOG_DESCRIPTION to record in configure logBrad King2023-01-161-0/+4
| | | | | | | | | | | | | | | | Issue: #23200
* | | | Merge topic 'ctest-no-tests-action-env-var'Brad King2023-01-171-0/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 0661de58d8 ctest(1): Add CTEST_NO_TESTS_ACTION env var Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8044
| * | | ctest(1): Add CTEST_NO_TESTS_ACTION env varfriendlyanon2023-01-131-0/+7
| | | | | | | | | | | | | | | | | | | | This environment variable provides a default value for the --no-tests=<action> command line argument.
* | | | Merge topic 'fea/add-copy_directory_if_different'Brad King2023-01-131-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1170b5602 cmake: Add -E copy_directory_if_different Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8059
| * | | | cmake: Add -E copy_directory_if_differentRobert Maynard2023-01-121-0/+4
| |/ / / | | | | | | | | | | | | Fixes #21584
* | | | Merge topic 'bug/cuda-toolkit-support-arm64-sbsa'Brad King2023-01-121-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 743d4181b4 FindCUDAToolkit: Support cross-compilation to sbsa-linux e60fa80fbe FindCUDAToolkit: Handle CUDA::nvToolsExt not existing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8057
| * | | | FindCUDAToolkit: Support cross-compilation to sbsa-linuxRobert Maynard2023-01-111-0/+4
| |/ / / | | | | | | | | | | | | Fixes #24192
* | | | Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilersRussell Greene2023-01-111-0/+6
|/ / / | | | | | | | | | | | | | | | | | | The `GNU` and `MSVC` compilers obviously use their own front-end command-line style. Also set this for `AppleClang`. Fixes: #24232
* | | Merge topic 'doc-SYSTEM'Craig Scott2022-12-191-3/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | dfab263825 Help: Clarify and update SYSTEM-related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8027
| * | Help: Clarify and update SYSTEM-related docsCraig Scott2022-12-171-3/+4
| | |
* | | FileAPI: Add "configureLog" object kindBrad King2022-12-171-0/+3
| | | | | | | | | | | | | | | | | | | | | Provide clients with a way to get a known set of configure log event versions. Issue: #23200
* | | ConfigureLog: Add infrastructure for structured configure event loggingMatthew Woehlke2022-12-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add infrastructure for a "configure log". Use YAML for a balance of machine- and human-readability to records details of configure-time events in a structured format. Teach the RunCMake test framework to support matching the configure log. Issue: #23200
* | | Merge topic 'COMPILE_DEFINITIONS-property-cleanup'Brad King2022-12-141-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7480fa0a5f COMPILE_DEFINITIONS property: ensure leading -D is removed in all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8004
| * | | COMPILE_DEFINITIONS property: ensure leading -D is removed in all casesMarc Chevrier2022-12-131-0/+6
| | | | | | | | | | | | | | | | Fixes: #24186
* | | | Merge topic 'cuda-nvcc-cuda20'Brad King2022-12-141-0/+6
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | 0aeeb8160c CUDA: Add support for cuda_std_20 for nvcc 12.0+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8008
| * | CUDA: Add support for cuda_std_20 for nvcc 12.0+Robert Maynard2022-12-131-0/+6
| | | | | | | | | | | | CUDA 12.0 has been released with support for `-std=c++20`.
* | | VS: Add a variable to report the Visual Studio version build numberBrad King2022-12-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2017 and above come with a Visual Studio Installer tool that tracks four-component Visual Studio version numbers. We already detect the VS version number because it is needed to make some generation decisions. Provide the number to projects in a `CMAKE_VS_VERSION_BUILD_NUMBER` variable so they can use it similarly. Fixes: #24230
* | | clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR propertyKyle Edwards2022-12-061-0/+8
| | | | | | | | | | | | Fixes: #21362
* | | FindPython: add support for Stable ABIMarc Chevrier2022-11-291-0/+6
| | | | | | | | | | | | Fixes: #24141
* | | Merge topic 'revert-find_library-msvc-libfoo.a'Brad King2022-11-291-5/+13
|\ \ \ | |/ / | | | | | | | | | | | | | | | 955d6245c1 MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7962
| * | MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention"Brad King2022-11-281-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit be848a71b0 (MSVC: Teach find_library to consider the 'libfoo.a' naming convention, 2022-09-19, v3.25.0-rc1~111^2). When targeting the MSVC ABI, this causes GNU-ABI libraries to be found in cases they were not previously, and broke existing builds. Revert the change pending further discussion on how to handle the motivating use case. Issue: #23975 Fixes: #24168
* | | Merge topic 'custom-command-comment-genex'Brad King2022-11-221-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26d813092b add_custom_{command,target}: add genex support for COMMENT 60a5a39022 cmCustomCommandGenerator: refactor GetComment to return std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7887
| * | | add_custom_{command,target}: add genex support for COMMENTPeter Würth2022-11-191-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate and expand generator expressions in the `COMMENT` argument of the `add_custom_command()` and `add_custom_target()` commands. This allows to include generator expressions, e.g. a targets location $<TARGET_...> or the current configuration $<CONFIG>, in the build-time messages. Fixes #22507
* | | | Merge topic 'xcode-ios-extensionkit'Brad King2022-11-211-0/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b99c386122 Xcode: Allow bundling extensionkit extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7900
| * | | | Xcode: Allow bundling extensionkit extensionsRussell Greene2022-11-181-0/+11
| |/ / / | | | | | | | | | | | | Fixes: #24150
* | | | Merge topic 'lang-std-flag-order'Brad King2022-11-211-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1c20b08b4 cmLocalGenerator: Inline AddCompilerRequirementFlag in only call site 914571a042 Place language standard flags just after CMAKE_<LANG>_FLAGS ad16ae5c70 VS: Recognize -std: flag in CMAKE_C_FLAGS in target with C++ sources Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7931
| * | | | Place language standard flags just after CMAKE_<LANG>_FLAGSBrad King2022-11-181-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we added the language standard flag near the end of all options, even after those added by `add_compile_options` and friends. However, on some compilers such as MSVC, the `-std` flag may reset defaults for flags that precede it on the command line. Move the language standard flag to before all other flags that CMake adds for other abstractions, and before those added by `add_compile_options`. `CMAKE_<LANG>_FLAGS` should still precede the language flags though, because they are meant to be treated as language-wide modifications to the compiler defaults, similar to `$CC $CFLAGS`. Fixes: #23860 Fixes: #24170
* | | | Merge topic 'cxx-scanning-properties'Brad King2022-11-211-0/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | a02d792c6e cxxmodules: add properties to control scanning 008c09d6db cmNinjaTargetGenerator: factor out determining the fileset of a source Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7935
| * | | cxxmodules: add properties to control scanningBen Boeckel2022-11-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | The `CXX_SCAN_FOR_MODULES` property may be used to control scanning for targets and for source files rather than assuming "C++20 always needs to be scanned".
* | | | Genex: Add $<BUILD_LOCAL_INTERFACE:...> genexKyle Edwards2022-11-171-0/+5
|/ / / | | | | | | | | | Fixes: #23209
* | | Merge topic 'cmake-E-copy-t-mode'Brad King2022-11-151-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8d9069e5b6 cmake -E copy: Add support for -t argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7913
| * | | cmake -E copy: Add support for -t argumentKyle Edwards2022-11-151-0/+4
| | | | | | | | | | | | | | | | Fixes: #23543
* | | | project: Warn at top-level if `cmake_minimum_required` wasn't calledfriendlyanon2022-11-111-0/+6
|/ / / | | | | | | | | | | | | | | | | | | The top-level project() call will now issue an AUTHOR_WARNING if it wasn't called after cmake_minimum_required(). Fixes: #24071
* | | Merge topic 'doc-improvements'Brad King2022-11-106-40/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4d1f85297 Help: Move a note about arguments and genexes into include file 968224484f Help: Drop unused `PROPERTY_GENEX` replace from `prop_tgt/INTERFACE_*` files 65457e4fae Help: Add _See Also_ sections to related CMake commands c86ec79d07 Help: Use direct refs to genexes instead of ``$<GENEX-NAME>`` 8c6274326d Help: Use CMake highlighting for command synopsis c356a94512 Help: Use monospaced font for a genex name in a section title f98c8707f4 Help: Use `code-block:: cmake` instead of `::` for sub-commands descriptions 2ba351ca4f Help: ``CMake`` → CMake ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7873
| * | | Help: Use direct refs to genexes instead of ``$<GENEX-NAME>``Alex Turbov2022-11-096-40/+35
| | | |