Commit Graph

68098 Commits

Author SHA1 Message Date
Kitware Robot 51f43b61bc CMake Nightly Date Stamp 2024-11-24 00:01:11 -05:00
Brad King 1412bfbf58 Merge topic 'vs-solution-items'
0bb13ba0e6 VS: Add support for Visual Studio solution items
f1bcb7276a VS: Refactor solution folder creation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10003
2024-11-23 15:13:59 -05:00
Brad King 791b681662 Merge branch 'release-3.31' 2024-11-23 15:12:52 -05:00
Brad King 1cd99d288f Merge topic 'aix-archive-shared-libraries-export'
cd6fb63093 AIX: Propagate AIX_SHARED_LIBRARY_ARCHIVE through exports

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10027
2024-11-23 15:12:51 -05:00
Brad King 2fad42832d Merge topic 'aix-archive-shared-libraries-export' into release-3.31
cd6fb63093 AIX: Propagate AIX_SHARED_LIBRARY_ARCHIVE through exports

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10027
2024-11-23 15:12:49 -05:00
Brad King cb39fca27e Merge topic 'FindPython-update-tests'
3fad553ea5 FindPython: enhance Python3Embedded test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10021
2024-11-23 15:11:11 -05:00
Kitware Robot ae78e5510b CMake Nightly Date Stamp 2024-11-23 00:01:20 -05:00
Brad King 775deab6a9 Merge branch 'release-3.31' 2024-11-22 12:31:01 -05:00
Brad King e75067ce6f Merge topic 'aix-archive-shared-libraries-genex'
f923463f2b AIX: Disallow TARGET_SONAME_* genex for AIX_SHARED_LIBRARY_ARCHIVE targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10028
2024-11-22 12:31:00 -05:00
Brad King 5caaf1d651 Merge topic 'aix-archive-shared-libraries-genex' into release-3.31
f923463f2b AIX: Disallow TARGET_SONAME_* genex for AIX_SHARED_LIBRARY_ARCHIVE targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10028
2024-11-22 12:30:59 -05:00
Lauri Vasama 0bb13ba0e6 VS: Add support for Visual Studio solution items
Files listed in the `VS_SOLUTION_ITEMS` directory property of a project
directory are added as solution items in the 'Solution Items' solution
directory.

If `source_group` is applied to the files listed in `VS_SOLUTION_ITEMS`,
solution groups matching the names of the source groups are created
outside of the default 'Solution Items' group.  If not items are placed
into the default group, it is not created.

Solution items added to subprojects are not included in the top-level
project.

Closes: #26409
2024-11-22 09:12:19 -05:00
Brad King a882dde32a Merge topic 'policy-cleanup'
94b2d56017 Help/policy/CMP0015: Remove stray indentation
577e693d3e Help: Use standard policy advice in CMP0000
96a0cded7f Tests: Avoid enabling C unnecessarily in CMP0022 and CMP0023 cases
c941f728ec Tests/CPackComponentsForAll: Update cmake_minimum_required to 3.10
34070c3319 Tests/CMakeCommands/target_link_libraries: Fix keyword consistency
73c334677d Tests: Use latest cmake_minimum_required possible for old policy cases
cde63efaea Tests/ExternalProject: Update sample projects to require CMake 3.31
0d416ad57f Tests/PolicyScope: Use more recent policies
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10022
2024-11-22 09:03:20 -05:00
Brad King 43c665fd85 Merge topic 'remove-trailing-blank-lines'
99ac59d31b style: Remove trailing blank lines from all CMake sources

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10026
2024-11-22 09:01:55 -05:00
Marc Chevrier 3fad553ea5 FindPython: enhance Python3Embedded test
Exclude too older compilers and avoid deprecated functions.

Fixes: #26459
2024-11-22 14:02:09 +01:00
Kitware Robot 86b1afb17e CMake Nightly Date Stamp 2024-11-22 00:01:18 -05:00
Brad King cd6fb63093 AIX: Propagate AIX_SHARED_LIBRARY_ARCHIVE through exports
Teach `export()` and `install(EXPORT)` to record this setting on the
imported targets they generate.  Make this property's non-presence
authoritative on imported targets since they represent what was built
elsewhere.
2024-11-21 19:02:00 -05:00
Brad King f923463f2b AIX: Disallow TARGET_SONAME_* genex for AIX_SHARED_LIBRARY_ARCHIVE targets
AIX shared library archives have no filesystem artifact named with their
SONAME because it is in an archive.
2024-11-21 18:44:25 -05:00
Matthew Woehlke 99ac59d31b style: Remove trailing blank lines from all CMake sources
Our development workflow tooling prevents trailing blank lines
from being added, but some such lines remain from before that
was enforced.  Remove them to make it easier to rename files
without triggering enforcement.
2024-11-21 15:48:02 -05:00
Brad King 8a2e9f152a Merge branch 'release-3.31' 2024-11-21 11:56:45 -05:00
Brad King eb281d3454 CMake 3.31.1 v3.31.1 2024-11-21 11:15:52 -05:00
Brad King c83071bc78 Merge branch 'release-3.31' 2024-11-21 10:06:13 -05:00
Brad King 4b9fad4555 Merge branch 'release-3.30' 2024-11-21 10:06:02 -05:00
Brad King 0576d076b1 Merge branch 'release-3.30' into release-3.31 2024-11-21 09:54:18 -05:00
Brad King 817707b904 CMake 3.30.6 v3.30.6 2024-11-21 09:18:01 -05:00
Brad King 7800ad72d0 Merge branch 'release-3.31' 2024-11-21 09:12:36 -05:00
Brad King 8b48d37260 Merge branch 'release-3.30' 2024-11-21 09:12:30 -05:00
Brad King 2d5938dc5c Merge branch 'release-3.29' 2024-11-21 09:12:20 -05:00
Brad King 0349079e35 Merge branch 'release-3.30' into release-3.31 2024-11-21 09:12:04 -05:00
Brad King 66817bd07d Merge branch 'release-3.29' into release-3.30 2024-11-21 09:11:40 -05:00
Brad King b47368e425 CMake 3.29.9 v3.29.9 2024-11-21 08:34:26 -05:00
Brad King d7ebf4ea37 Merge branch 'release-3.31' 2024-11-21 08:26:48 -05:00
Brad King a31e660f2b Merge branch 'release-3.30' 2024-11-21 08:26:46 -05:00
Brad King 0fa325fb82 Merge branch 'release-3.29' 2024-11-21 08:26:44 -05:00
Brad King c1ff140c7c Merge branch 'release-3.30' into release-3.31 2024-11-21 08:26:35 -05:00
Brad King a82a48468e Merge branch 'release-3.31' 2024-11-21 08:24:20 -05:00
Brad King ee5a6f3aec Merge topic 'execute_process-OUTPUT_FILE-cloexec'
60af429c5d execute_process: Restore CLOEXEC on OUTPUT_FILE and ERROR_FILE descriptors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Bertrand Bellenot <bertrand.bellenot@cern.ch>
Merge-request: !10014
2024-11-21 08:24:20 -05:00
Brad King 82aaccc576 Merge topic 'execute_process-OUTPUT_FILE-cloexec' into release-3.31
60af429c5d execute_process: Restore CLOEXEC on OUTPUT_FILE and ERROR_FILE descriptors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Bertrand Bellenot <bertrand.bellenot@cern.ch>
Merge-request: !10014
2024-11-21 08:24:18 -05:00
Kitware Robot 049c449537 CMake Nightly Date Stamp 2024-11-21 00:01:40 -05:00
Brad King b669ffe508 Merge branch 'release-3.29' into release-3.30 2024-11-20 11:15:54 -05:00
Brad King 8b410dd156 Merge topic 'execute_process-OUTPUT_FILE-cloexec' into release-3.30
60af429c5d execute_process: Restore CLOEXEC on OUTPUT_FILE and ERROR_FILE descriptors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10014
2024-11-20 11:15:25 -05:00
Brad King 2ef3bc896b Merge topic 'execute_process-OUTPUT_FILE-cloexec' into release-3.29
60af429c5d execute_process: Restore CLOEXEC on OUTPUT_FILE and ERROR_FILE descriptors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10014
2024-11-20 11:14:51 -05:00
Lauri Vasama f1bcb7276a VS: Refactor solution folder creation
* Add cmVisualStudioFolder struct containing names of projects within
  that folder.
* Separate folder creation out of WriteTargetsToSolution into a new
  CreateSolutionFolders function.
2024-11-20 18:10:25 +02:00
Brad King 94b2d56017 Help/policy/CMP0015: Remove stray indentation 2024-11-20 10:55:34 -05:00
Brad King 577e693d3e Help: Use standard policy advice in CMP0000
This was missed in commit ad3c2c0b03 (Help: Normalize and consolidate
standard policy advice paragraph, 2024-01-11, v3.29.0-rc1~124^2~2).
2024-11-20 10:55:34 -05:00
Brad King 96a0cded7f Tests: Avoid enabling C unnecessarily in CMP0022 and CMP0023 cases 2024-11-20 10:55:34 -05:00
Brad King c941f728ec Tests/CPackComponentsForAll: Update cmake_minimum_required to 3.10
This was missed by commit 9e3b559b6a (Tests: Update
cmake_minimum_required versions to 3.10, 2024-10-03, v3.31.0-rc1~23^2~1).
2024-11-20 10:55:34 -05:00
Brad King 34070c3319 Tests/CMakeCommands/target_link_libraries: Fix keyword consistency 2024-11-20 10:55:33 -05:00
Brad King 73c334677d Tests: Use latest cmake_minimum_required possible for old policy cases 2024-11-20 10:55:02 -05:00
Brad King cde63efaea Tests/ExternalProject: Update sample projects to require CMake 3.31 2024-11-20 10:54:01 -05:00
Brad King 0d416ad57f Tests/PolicyScope: Use more recent policies 2024-11-20 10:54:01 -05:00