summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'android-platform-vars' into release-3.27Brad King2023-06-201-5/+5
|\ | | | | | | | | | | | | ab66b89a46 Android: Restore platform id vars with legacy toolchain file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8576
| * Android: Restore platform id vars with legacy toolchain fileBrad King2023-06-201-5/+5
| | | | | | | | | | | | | | | | | | Restore definition of `ANDROID` and `UNIX` when `CMAKE_SYSTEM_VERSION` is `1`. This was broken by commit 1373373823 (enable_language: Establish target platform identification variables earlier, 2023-06-06, v3.27.0-rc1~3^2~1). Fixes: #25004
* | Merge topic 'FindProtobuf-version-schemes' into release-3.27Brad King2023-06-201-1/+5
|\ \ | |/ |/| | | | | | | | | | | fc7dcc6a24 FindProtobuf: Support new version number scheme Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8574
| * FindProtobuf: Support new version number schemeJannik Beyerstedt2023-06-201-1/+5
|/ | | | | | | | | Protobuf changed it's version number scheme with version 21. The first number (usually the major version) is not synchronized between compiler and library version, but the second and third number are. See https://protobuf.dev/news/2022-05-06/ for more details. Fixes: #24847
* Merge topic 'rel-macos-c++17' into release-3.27Brad King2023-06-203-3/+4
|\ | | | | | | | | | | | | | | | | 7b205b7078 ci: Build macOS 10.13+ package as C++17 7f6cebb1cd ci: Split macOS 10.10+ and 10.13+ package language standard selection aab16d4bfc ci: Drop unnecessary -stdlib flag from macOS package Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8567
| * ci: Build macOS 10.13+ package as C++17Brad King2023-06-161-1/+1
| | | | | | | | | | | | Take advantage of the standard library implementations of those C++17 features available when targeting macOS 10.13. Note that the standard library `std::filesystem` implementation is not available until 10.15.
| * ci: Split macOS 10.10+ and 10.13+ package language standard selectionBrad King2023-06-153-2/+4
| | | | | | | | Prepare to use a different language standard level for each package.
| * ci: Drop unnecessary -stdlib flag from macOS packageBrad King2023-06-151-1/+0
| | | | | | | | AppleClang uses `libc++` by default.
* | Merge topic 'cmList-SUBLIST-regression' into release-3.27Brad King2023-06-202-1/+52
|\ \ | | | | | | | | | | | | | | | | | | | | | 1cfaed0684 list(): restore SUBLIST behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8569
| * | list(): restore SUBLIST behaviorMarc Chevrier2023-06-162-1/+52
|/ / | | | | | | Fixes: #25002
* | Merge topic 'FindPostgreSQL-15' into release-3.27Brad King2023-06-161-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 80ba2cccfc FindPostgreSQL: Add support for version 15 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8568
| * | FindPostgreSQL: Add support for version 15Brad King2023-06-161-2/+2
|/ /
* | Merge topic 'fix_tutorial_step7_solution_text' into release-3.27Brad King2023-06-161-1/+1
|\ \ | |/ |/| | | | | | | | | a8679c997d Tutorial: Extend literal include to contain full code changes in solution Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8563
| * Tutorial: Extend literal include to contain full code changes in solutionMarkus Ferrell2023-06-151-1/+1
|/ | | | | The solution for step 7 todo 5 did not include all of the code changes. Modify it to include the needed `#endif` code change.
* Merge topic 'doc-genex-TARGET_RUNTIME_DLL_DIRS' into release-3.27Brad King2023-06-141-0/+4
|\ | | | | | | | | | | | | acce355673 Help: Add 3.27 release note for TARGET_RUNTIME_DLL_DIRS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8558
| * Help: Add 3.27 release note for TARGET_RUNTIME_DLL_DIRSBrad King2023-06-131-0/+4
| | | | | | | | | | | | This was accidentally left out of commit 2ce3d62ffb (Help: add documentation for the new TARGET_RUNTIME_DLL_DIRS genex, 2023-02-26, v3.27.0-rc1~400^2~2).
* | Merge topic 'improve-sphinx-check' into release-3.27Brad King2023-06-142-23/+19
|\ \ | |/ |/| | | | | | | | | | | 528cdc7551 Utilities/Sphinx: Fix some flake8 gripes 4bd1beded4 Utilities/Sphinx: Don't ignore flake8 E402 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8561
| * Utilities/Sphinx: Fix some flake8 gripesMatthew Woehlke2023-06-131-7/+6
| | | | | | | | Reorder some imports to better conform to what flake8 wants.
| * Utilities/Sphinx: Don't ignore flake8 E402Matthew Woehlke2023-06-132-21/+18
|/ | | | | | | | Refactor commit 1f39a3cd1a (Utilities/Sphinx: Restore explicit check for Sphinx 2.x or later) to avoid needing to suppress flake8 E402. While ignoring it with respect to the docutils/sphinx imports and the sphinx version check was correct, the need to disable it for the whole file was suboptimal.
* Merge topic 'test-no-git' into release-3.27Brad King2023-06-132-5/+7
|\ | | | | | | | | | | | | | | | | 15d9d591bd Tests: Require git to enable RunCMake.CMP0150 test 0c2610bd30 Tests: Find GIT_EXECUTABLE early enough to use in all tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8556
| * Tests: Require git to enable RunCMake.CMP0150 testBrad King2023-06-121-1/+4
| | | | | | | | | | | | The test added by commit 550f63447d (ExternalProject/FetchContent: Support relative remote URLs, 2023-04-21, v3.27.0-rc1~156^2) covers Git-specific functionality, and requires a `git` tool to be available.
| * Tests: Find GIT_EXECUTABLE early enough to use in all testsBrad King2023-06-121-4/+3
| | | | | | | | Some tests work only if a `git` executable is available.
* | Merge topic 'doc-sphinx-2.x' into release-3.27Brad King2023-06-132-4/+9
|\ \ | |/ |/| | | | | | | | | | | 1f39a3cd1a Utilities/Sphinx: Restore explicit check for Sphinx 2.x or later 5de805bea2 Utilities/Sphinx: Fix flake8 E124 diagnostic in cmake.py Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8555
| * Utilities/Sphinx: Restore explicit check for Sphinx 2.x or laterBrad King2023-06-122-3/+8
| | | | | | | | | | | | | | | | Refactoring in commit adbc8c982d (Utilities/Sphinx: Fix flake8 gripes in cmake.py, 2023-03-13, v3.27.0-rc1~317^2) moved the assertion added by commit cef51925a4 (Utilities/Sphinx: Require Sphinx 2.x or later, 2023-03-13, v3.27.0-rc1~317^2~2) to after imports, which is too late to clearly reject older Sphinx versions.
| * Utilities/Sphinx: Fix flake8 E124 diagnostic in cmake.pyBrad King2023-06-121-1/+1
|/
* CMake 3.27.0-rc2v3.27.0-rc2Brad King2023-06-121-1/+1
|
* Merge topic 'restore-check-module-deps' into release-3.27Brad King2023-06-127-0/+30
|\ | | | | | | | | | | | | | | 4a2b708144 Modules: Restore unnecessary inclusions for compatibility Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8554
| * Modules: Restore unnecessary inclusions for compatibilityBrad King2023-06-127-0/+30
| | | | | | | | | | | | | | | | | | | | | | Since commit 03c6ebf2b5 (Modules:Check,GenerateExportHeader: include only what's needed, 2023-03-09, v3.27.0-rc1~327^2) some existing projects broke because they were accidentally relying on indirect inclusion of some check modules. For now, restore the unnecessary includes for compatibility. They can be removed with a policy later. Fixes: #24991 Issue: #24994
* | Merge topic 'add_test-empty-args' into release-3.27Brad King2023-06-124-1/+26
|\ \ | |/ |/| | | | | | | | | | | 1df3287bf6 add_test: Restore support for empty test arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8551
| * add_test: Restore support for empty test argumentsMarc Chevrier2023-06-094-1/+26
| | | | | | | | | | | | | | | | This was regressed by refactoring in commit e08ba229ee (CMake code rely on cmList class for CMake lists management (part. 1), 2023-04-14, v3.27.0-rc1~174^2). Fix it and add a test case. Fixes: #24986
* | Merge topic 'bootstrap-system-cppdap' into release-3.27Brad King2023-06-091-2/+4
|\ \ | | | | | | | | | | | | | | | | | | e4a9227360 bootstrap: Add --(no-)system-cppdap configuration switch Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8550
| * | bootstrap: Add --(no-)system-cppdap configuration switchBjörn Esser2023-06-081-2/+4
| |/ | | | | | | | | | | This was accidentally left out of commit 5ec69eb58c (cppdap: Build as part of CMake or use external installation, 2023-05-19, v3.27.0-rc1~45^2~1).
* | Merge topic 'Makefiles-safer-COLOR-usage' into release-3.27Brad King2023-06-094-2/+17
|\ \ | |/ |/| | | | | | | | | 8195aa3026 Makefiles: quote `$(COLOR)` expansions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8548
| * Makefiles: quote `$(COLOR)` expansionsBen Boeckel2023-06-084-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handles the case where `COLOR` is set to some ANSI-like color sequence in the ambient environment. These sequences tend to include `;` which terminates the command and tries to use the next component (typically an integer, possibly with a trailing `m`) with errors like: /bin/sh: line 1: 2: command not found /bin/sh: line 1: 255: command not found /bin/sh: line 1: 221: command not found /bin/sh: line 1: 255m: command not found Also add a test that sets `COLOR` in the environment which affects the generated Makefiles behavior. See: https://discourse.cmake.org/t/cmake-failing-gcc-compiler-checks/8277
* | CMake 3.27.0-rc1v3.27.0-rc1Brad King2023-06-081-1/+1
| |
* | Merge topic 'FindCUDAToolkit-cupti-nvperf' into release-3.27Brad King2023-06-082-9/+31
|\ \ | | | | | | | | | | | | | | | | | | f9579ffaa6 FindCUDAToolkit: Add cupti nvperf and pcsampling targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8545
| * | FindCUDAToolkit: Add cupti nvperf and pcsampling targetsRobert Maynard2023-06-072-9/+31
| |/
* | Merge topic 'cmcldeps-rc' into release-3.27Brad King2023-06-081-28/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 0e1abf7afa cmcldeps: Avoid passing /nologo more than once to RC compiler f694e8d9c8 cmcldeps: Do not pass linker flags to cl 8600fb263b cmcldeps: Remove unused C and CXX support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8541
| * | cmcldeps: Avoid passing /nologo more than once to RC compilerBrad King2023-06-071-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | `rc /nologo /nologo ...` fails: fatal error RC1106: invalid option: -ologo Fixes: #24974 Inspired-by: Benjamin Buch <benjamin.buch@technoteam.de>
| * | cmcldeps: Do not pass linker flags to clBenjamin Buch2023-06-071-19/+5
| | | | | | | | | | | | | | | | | | | | | Avoid cl `Command line warning D9035`. Fixes: #24906 Co-authored-by: Brad King <brad.king@kitware.com>
| * | cmcldeps: Remove unused C and CXX supportBenjamin Buch2023-06-071-9/+4
| | | | | | | | | | | | We never set `CMAKE_NINJA_CMCLDEPS_{C,CXX}` anymore.
* | | Merge topic 'target-system-variables' into release-3.27Brad King2023-06-0871-86/+99
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | e4c53cdc15 BinUtils: Drop now-unnecessary cross-compiling workaround for Apple hosts 1373373823 enable_language: Establish target platform identification variables earlier 1d916bf3d2 kFreeBSD,GNU: Provide multiarch library directory regex earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8544
| * | BinUtils: Drop now-unnecessary cross-compiling workaround for Apple hostsBrad King2023-06-071-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we added fallbacks to `llvm-{ar,strip}` on Apple hosts in case of cross-compiling because the `APPLE` platform variable was not set w.r.t. the target platform. The platform variable has been fixed, so remove the fallbacks. Issue: #23333
| * | enable_language: Establish target platform identification variables earlierBrad King2023-06-0767-64/+85
| | | | | | | | | | | | | | | | | | | | | | | | Set target platform identification variables like `APPLE` and `LINUX` as soon as the target system is identified. This makes them available during toolchain and binutils selection. Fixes: #23333
| * | kFreeBSD,GNU: Provide multiarch library directory regex earlierBrad King2023-06-066-7/+9
|/ / | | | | | | | | | | | | | | Make `CMAKE_LIBRARY_ARCHITECTURE_REGEX` available while determining compilers before `Platform/{kFreeBSD,GNU}` is loaded. Follow up commit cc737ae829 (Linux: Provide multiarch library directory regex earlier, 2023-05-31).
* | Begin 3.27 release versioningBrad King2023-06-061-3/+3
| |
* | Help: Drop development topic notes to prepare releaseBrad King2023-06-062-9/+0
| | | | | | | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* | Merge topic 'doc-3.27-relnotes'Brad King2023-06-0646-280/+250
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 6bc97b453c Help: Update Sphinx versionadded directives for 3.27 release 78d2c9fef0 Help: Organize and revise 3.27 release notes e6bcda8c39 Help: Consolidate 3.27 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8539
| * | Help: Update Sphinx versionadded directives for 3.27 releaseBrad King2023-06-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.26.0 --overwrite Manually remove directives added to new documentation of existing environment variables.
| * | Help: Organize and revise 3.27 release notesBrad King2023-06-061-133/+178
| | | | | | | | | | | | | | | Add section headers similar to the 3.26 release notes and move each individual bullet into an appropriate section. Revise a few bullets.