summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge topic 'doc-ObjC-17-23'Brad King2024-04-171-0/+10
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | | | | | | | | | 84f1eb64f3 Help/OBJC_STANDARD: Document Objective C17 and C23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9439
| * | | Help/OBJC_STANDARD: Document Objective C17 and C23 supportRaul Tambre2024-04-161-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was missed in * commit 93b7d3d292 (C17 support, 2021-02-06, v3.21.0-rc1~587^2~10) * commit dcd599757f (C23 support, 2021-02-06, v3.21.0-rc1~587^2~9) Fixes: #25746
* | | | Merge topic 'cpack-innosetup-linux'Brad King2024-04-162-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4a46314ac CPack: Enable Inno Setup generator on non-Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9431
| * | | | CPack: Enable Inno Setup generator on non-Windows hostsAndreas Oetken2024-04-152-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Innosetup tools can be run on Linux using Wine, thus there is no reason to block this in CMake.
* | | | | Merge topic 'FindBacktrace-imported-library'Brad King2024-04-161-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9433755e5d FindBacktrace: Add imported library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9406
| * | | | | FindBacktrace: Add imported libraryDavid Faure2024-04-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to avoid (a future version of) Qt from having to wrap FindBacktrace like [1]. [1] https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/FindWrapBacktrace.cmake
* | | | | | Merge topic 'cxxmodules-import-std'Brad King2024-04-157-1/+145
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 429902ebad Clang: support creating a target for imported modules 4617f272b4 MSVC: support `import std` 62a71047bb cmGraphVizWriter: ignore `__cmake_`-prefixed targets 442086c1dc fileapi: ignore `__cmake_`-prefixed targets ffe74289b3 CMakeDetermineCompilerId: extract C++ standard library impl 15bbd1d9b8 Experimental: add an experimental feature gate for `import std` f80c60df02 CMakeDetermineCompilerSupport: construct C++ modules targets 19341e2582 ci: enable `import_std23` C++ module tests on MSVC ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9337
| * | | | | Clang: support creating a target for imported modulesBen Boeckel2024-04-121-0/+1
| | | | | |
| * | | | | MSVC: support `import std`Ben Boeckel2024-04-121-0/+3
| | | | | |
| * | | | | Experimental: add an experimental feature gate for `import std`Ben Boeckel2024-04-124-0/+37
| | | | | |
| * | | | | cxxmodules: link to `std`-providing targets when availableBen Boeckel2024-04-111-1/+8
| | | | | |
| * | | | | cmTarget: support the `CXX_MODULE_STD` propertyBen Boeckel2024-04-115-0/+53
| | | | | |
| * | | | | Help/cmake-cxxmodules: describe the compilation strategyBen Boeckel2024-04-111-0/+43
| | | | | |
* | | | | | Merge topic 'doc-regex-classes'Brad King2024-04-121-7/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc7a810a75 Help: Clarify documentation on regex character classes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9419
| * | | | | | Help: Clarify documentation on regex character classesMartin Stadler2024-04-111-7/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | In particular, give an example of matching `]`.
* | | | | | Merge branch 'release-3.29'Brad King2024-04-111-0/+7
|\ \ \ \ \ \ | |/ / / / / |/| | / / / | | |/ / / | |/| | |
| * | | | CMake 3.29.2v3.29.2Brad King2024-04-111-0/+7
| | | | |
* | | | | C++26: Fix C++/CUDA/HIP compile feature supportRaul Tambre2024-04-094-5/+11
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | In commit f808d8afb9 (CMake: Support upcoming C++26 language level, 2022-08-19, v3.25.0-rc1~218^2) we forgot some necessary scaffolding. Fixes: #25819
* | | | Merge branch 'release-3.29'Brad King2024-04-031-4/+10
|\ \ \ \ | |/ / /
| * | | CMake 3.29.1v3.29.1Brad King2024-04-031-4/+10
| | | |
* | | | Merge topic 'enable_language-before-project'Brad King2024-04-034-6/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 97464aa970 enable_language(): Fail if called before project() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9396
| * | | | enable_language(): Fail if called before project()Craig Scott2024-04-024-6/+43
| | | | | | | | | | | | | | | | | | | | Fixes: #25550
* | | | | Merge topic 'swift-linker-selection'Brad King2024-04-032-17/+28
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 3fb4092826 Swift: Add CMAKE_LINKER_TYPE support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9380
| * | | | Swift: Add CMAKE_LINKER_TYPE supportEvan Wilde2024-04-022-17/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend commit 96a953b1ed (Add options to specify linker tool, 2023-09-27, v3.29.0-rc1~577^2) with the `CMAKE_Swift_USING_LINKER_*` variables needed to support `CMAKE_LINKER_TYPE` for Swift.
| * | | | Merge topic 'doc-vsfortran' into release-3.29Brad King2024-04-012-6/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7fa0057c74 Help: emphasize need for VS Integrations with oneAPI Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9387
* | | | | | ci: package .zip source archives using LF newlinesBrad King2024-04-011-0/+6
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we provided a `.zip` archive with CRLF newlines and a `.tar.gz` archive with LF newlines. This is no longer consistent with modern conventions. Use LF newlines in both. Fixes: #25467
* | | | | Merge topic 'patch-help-manually-added-dependencies'Brad King2024-04-011-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e722f73e40 Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9388
| * | | | | Help: Document MANUALLY_ADDED_DEPENDENCIES in add_dependenciesPeter Kokot2024-03-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a note about the MANUALLY_ADDED_DEPENDENCIES target property to the add_dependencies documentation page. It was introduced in v3.8.0.
* | | | | | Merge topic 'check-Werror-CMP0066'Brad King2024-04-011-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cebcc07a80 CheckSymbolExists: Remove -Werror from per-config flags 06c99ce73b CheckSymbolExists: Avoid removing the flag after -Werror e60281e968 CMakeDetermineCompilerABI: Remove -Werror from per-config flags 6abd25e7fd Help: Fix a typo Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9377
| * | | | | | Help: Fix a typoSung, Po Han2024-03-281-1/+1
| | | | | | |
* | | | | | | Merge topic 'add_library-no-static-fallback'Brad King2024-04-014-0/+45
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a61c9afdf8 add_library: Reject shared libraries on platforms that do not support them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9347
| * | | | | | | add_library: Reject shared libraries on platforms that do not support themAsit Dhal2024-03-294-0/+45
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add policy CMP0164 to provide compatibility. Fixes: #25759
* | | | | | | Merge topic 'tls-verify'Brad King2024-04-016-5/+28
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7139944264 ctest: Fall back to CMake environment variable for TLS server verification c295df53c6 ctest: Test fallback to CMake options for TLS server verification 0d250dd021 ExternalProject: Honor CMAKE_TLS_VERIFY environment variable e8404502b1 ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION pattern 46faaf9667 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable 8b0169fe2b file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variable 93886f5c7d file(DOWNLOAD|UPLOAD): Avoid unnecessary CMAKE_TLS_VERIFY variable lookup bed32f400e file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variable ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9389
| * | | | | | | ctest: Fall back to CMake environment variable for TLS server verificationBrad King2024-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `ENV{CMAKE_TLS_VERIFY}` if `CTEST_TLS_VERIFY` or `CMAKE_TLS_VERIFY` is not set. Issue: #23608
| * | | | | | | ExternalProject: Honor CMAKE_TLS_VERIFY environment variableBrad King2024-03-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #23608
| * | | | | | | file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variableBrad King2024-03-304-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #23608
| * | | | | | | file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variableBrad King2024-03-291-2/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was missed by commit 434fe8a34b (file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERSION environment variable, 2024-02-26).
* | | | | | | Merge topic 'rel-win-PATH'Brad King2024-04-011-0/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e5330591d Utilities/Release/WiX: Modify PATH by default when installing on Windows 32388821e2 Utilities/Release/WiX: Save PATH modification preference persistently Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Nazar Mokrynskyi <nazar@mokrynskyi.com> Merge-request: !9386
| * | | | | | | Utilities/Release/WiX: Modify PATH by default when installing on WindowsBrad King2024-03-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the PATH modification choice has not been saved persistently by an existing installation of CMake, default to modifying the system PATH environment variable to make our command-line tools available for all users. This is a common expectation. Fixes: #21465
| * | | | | | | Utilities/Release/WiX: Save PATH modification preference persistentlyBrad King2024-03-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our Windows installer provides an interactive dialog to choose whether the PATH should be modified. It may also be specified on the `msiexec` command-line as an `ADD_CMAKE_TO_PATH={0,1}` property. Save the choice persistently in the Windows Registry and use the same choice by default in future installations. Issue: #21465
* | | | | | | | Merge topic 'doc-vsfortran'Brad King2024-04-012-6/+6
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | / / / | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | 7fa0057c74 Help: emphasize need for VS Integrations with oneAPI Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9387
| * | | | | | Help: emphasize need for VS Integrations with oneAPI Fortranscivision2024-03-292-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Be more explicit that VS Integration is required to use Intel Fortran with MSVC. It is common that users do not have VS Integration installed because oneAPI is then only usable with a narrow range of MSVC versions, even when oneAPI is used by itself with MSVC as the required backend. Without VS Integration, a wide range of MSVC versions work as the backend to oneAPI on Windows.
* | | | | | | Merge topic 'prop-GENERATED-visibility'Brad King2024-03-296-1/+56
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 071f0d6f98 CMP0163: Make GENERATED source file property globally visible 00c6573d86 cmSetPropertyCommand: Refactor checks for CMP0118 e04af1e9c2 cmGetSorceFilePropertyCommand: Simplify string comparisons Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9308
| * | | | | | CMP0163: Make GENERATED source file property globally visibleDeniz Bahadir2024-03-296-1/+56
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was originally attempted by policy CMP0118, but its implementation did not cover all intended use cases. We fixed its documentation in commit 1dabbbb5e0 (CMP0118: Revise documentation to describe actual behavior, 2024-03-20). Add new policy CMP0163 to cover the remaining use cases. In particular, make the `GENERATED` property visible to `get_property` calls in other directories. In order to capture the original intention of CMP0118, define CMP0163's NEW behavior to also imply CMP0118's NEW behavior. Fixes: #25437 Fixes: #25058
* | | | | | Merge topic 'move-install-note'Brad King2024-03-291-10/+10
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8cbd6f5754 Help: Fix location of install() note about superseded commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9382
| * | | | | Help: Fix location of install() note about superseded commandsFeRD (Frank Dana)2024-03-281-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The note regarding commands superseded by install() somehow wound up nested under the install(EXPORT) signature, when it has nothing to do with install(EXPORT). Move it to the top level, immediately before the Examples section.
* | | | | | Merge topic 'add_custom_command/25796'Brad King2024-03-291-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 89aac1fbe8 add_dependencies: Document behavior under Ninja generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9378
| * | | | | | add_dependencies: Document behavior under Ninja generatorsJuan Ramos2024-03-281-0/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | Closes: #25796
* | | | | | Merge topic 'cpack-wix'Brad King2024-03-282-9/+95
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 03884f4f32 CPack/WIX: Add support for WiX Toolset v4 cfe5bbdc54 ci: Add scripts to provide WiX 4 package on Windows c8e2694679 ci: Add script to repackage WiX .NET tool for our needs e7f5ad8df2 Tests: Prepare RunCMake.CPack_WIX to cover multiple WiX versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9369
| * | | | | CPack/WIX: Add support for WiX Toolset v4Brad King2024-03-242-9/+95
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `CPACK_WIX_VERSION` option to specify version WiX for which the project is configured. Fixes: #23910