Commit Graph

68110 Commits

Author SHA1 Message Date
Brad King 733808150b ctest: Print custom timeout signal properties in show-only output
This was missed in commit 54c5654f7d (ctest: Optionally terminate tests
with a custom signal on timeout, 2023-05-11, v3.27.0-rc1~18^2).
2024-11-25 14:17:34 -05:00
Brad King 57587b3863 Tests/RunCMake/CTestCommandLine: Fix python string literal syntax 2024-11-25 12:15:29 -05:00
Brad King 508817037d Merge topic 'aix-archive-shared-libraries'
2c22aae14b Tests/RunCMake: Enable CMP0182 in test cases on AIX
5c78623143 AIX: Enable shared library archives by default
7a05e8e994 Help: Reword AIX_SHARED_LIBRARY_ARCHIVE to avoid assuming a default
655a245d60 Tests: Explicitly disable AIX_SHARED_LIBRARY_ARCHIVE in some cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10030
2024-11-25 10:07:20 -05:00
Brad King bc13010e38 Merge topic 'macOS-sw_vers-stderr'
58aa659bf8 Tests/RunCMake/cmake_host_system_information: Cover macOS Malloc Debugging env
954afd528b Merge branch 'upstream-KWSys' into macOS-sw_vers-stderr
295f4b1de1 KWSys 2024-11-23 (3e9b0b88)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10029
2024-11-25 10:03:28 -05:00
Kitware Robot 0091229ddb CMake Nightly Date Stamp 2024-11-25 00:02:02 -05:00
Kitware Robot 51f43b61bc CMake Nightly Date Stamp 2024-11-24 00:01:11 -05:00
Brad King 2c22aae14b Tests/RunCMake: Enable CMP0182 in test cases on AIX
Improve coverage of CMP0182's NEW behavior by enabling it in a large
number of CMake's tests, but not in all of them, so that the OLD
behavior remains covered by some tests too.

Issue: #26372
2024-11-23 15:23:25 -05:00
Brad King 5c78623143 AIX: Enable shared library archives by default
This is the preferred convention for shared libraries on AIX.
Add policy CMP0182 to provide compatibility.

Closes: #26372
2024-11-23 15:23:25 -05:00
Brad King 7a05e8e994 Help: Reword AIX_SHARED_LIBRARY_ARCHIVE to avoid assuming a default 2024-11-23 15:23:25 -05:00
Brad King 655a245d60 Tests: Explicitly disable AIX_SHARED_LIBRARY_ARCHIVE in some cases
We do not want AIX shared library archives in test cases that rely on
cross-platform appearance of `.so` files.
2024-11-23 15:23:25 -05:00
Brad King 58aa659bf8 Tests/RunCMake/cmake_host_system_information: Cover macOS Malloc Debugging env
On macOS, `sw_vers` may print to `stderr` based on environment variables
like `MallocGuardEdges=1`.  Add a test to verify that we do not capture
that as part of the information it prints to `stdout`.

Issue: #26466
2024-11-23 15:17:36 -05:00
Brad King 954afd528b Merge branch 'upstream-KWSys' into macOS-sw_vers-stderr
* upstream-KWSys:
  KWSys 2024-11-23 (3e9b0b88)

Fixes: #26466
2024-11-23 15:17:07 -05:00
KWSys Upstream 295f4b1de1 KWSys 2024-11-23 (3e9b0b88)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 3e9b0b88c2284302a26073d30aafaffe8c99f320 (master).

Upstream Shortlog
-----------------

Brad King (1):
      5995fd7d SystemInformation: Ignore stderr from OS query tools
2024-11-23 15:15:52 -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