summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | 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
* | | | | Merge topic 'doc-linker-vars'Brad King2024-03-278-73/+83
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ba2bbc0f3 Help: Restructure and improve LINKER_TYPE docs c39bc6e412 Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flags 1c7ccefd83 Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE> aecea7b28b Help: Grammar, typos and wording improvements for linker variables 5b21897c6e Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9362
| * | | Help: Restructure and improve LINKER_TYPE docsCraig Scott2024-03-253-43/+46
| | | |
| * | | Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flagsCraig Scott2024-03-251-2/+4
| | | |
| * | | Help: Add custom linker example for CMAKE_<LANG>_USING_LINKER_<TYPE>Craig Scott2024-03-251-0/+8
| | | |
| * | | Help: Grammar, typos and wording improvements for linker variablesCraig Scott2024-03-255-27/+24
| | | |
| * | | Help: Remove stray formatting for try_compile() LINKER_LANGUAGE keywordCraig Scott2024-03-221-1/+1
| |/ /
| * | Merge branch 'release-3.28' into release-3.29Brad King2024-03-201-3/+4
| |\ \ | | |/
| * | Merge topic 'doc-release-3.29-typos' into release-3.29Brad King2024-03-193-5/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eceb368ccc Help: Fix typos in 3.29 docs 31fb693d06 Help: Fix typos and grammar in pre-3.29 docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9353
* | \ \ Merge topic 'cpack-wix'Brad King2024-03-241-23/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d15c910a45 CPack/WIX: Remove "candle" from tool-agnostic error message ac25c645a7 CPack/WIX: Improve formatting of CPACK_WIX_CUSTOM_XMLNS expansion 54d09a2b3f CPack/WIX: Document WiX Toolset v3 tools d2f4836f8e CPack/WIX: Prepare to provide version-specific WiX templates 438809d3ba cmCPackGenerator: Add option to FindTemplate to use alternate builtin path 4d661e3a92 cmMakefile: Reduce GetModulesFile caller allocations Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9363
| * | | | CPack/WIX: Document WiX Toolset v3 toolsBrad King2024-03-221-23/+52
| | | | | | | | | | | | | | | | | | | | | | | | | Add a dedicated section describing the `candle` and `light` tools. Also improve formatting of some variables' documentation.
* | | | | Help: cmake(1) --toolchain path relativescivision2024-03-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | other cmake(1) options are relative to cwd. It is surprising enough that --toolchain is relative to -B or -S that it's good to call it out here too.
* | | | | Merge topic 'doc-CMP0118'Brad King2024-03-224-24/+26
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1dabbbb5e0 CMP0118: Revise documentation to describe actual behavior d2f5b79795 CMP0118: Fix some tests and add more tests Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9358
| * | | | CMP0118: Revise documentation to describe actual behaviorDeniz Bahadir2024-03-214-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The policy was originally intended to make the `GENERATED` source file property globally visible, but the implementation didn't fully achieve that goal. Revise the documentation to describe what it actually does. Issue: #25437
* | | | | Merge topic 'fileapi-provide-glob-dependent'Brad King2024-03-212-1/+58
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6116bcb066 fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles object f578515d02 cmGlobCacheEntry: Add helper to carry CONFIGURE_DEPENDS glob cache arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9348
| * | | | fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles objectArctic Lampyrid2024-03-192-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25668 Co-authored-by: Brad King <brad.king@kitware.com>