summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Add CMAKE_HOST_EXECUTABLE_SUFFIX for Unix/Windowsleha-bot2024-10-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes: #17553
* | | | | | | Merge topic 'static-libraries-deduplication'Brad King2024-10-032-4/+70
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd418d4bb6 Static libraries de-duplication: keep first occurrence 9b5c805bf6 Tests/RunCMake/LinkLibrariesStrategy: Check ordering results more strongly Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9864
| * | | | | | | Static libraries de-duplication: keep first occurrenceMarc Chevrier2024-10-022-4/+70
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Fixes: #26335
* | | | | | | Merge topic 'ctest-sp-recursion'Brad King2024-10-031-10/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f3dcbfaa8c CTest: Avoid infinite recursion with -SP option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9870
| * | | | | | | CTest: Avoid infinite recursion with -SP optionDaniel Pfeifer2024-10-021-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was broken since 49a37d5a97ccd6e59b9e205a96b9dec251708f76.
* | | | | | | | CMake Nightly Date StampKitware Robot2024-10-031-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge topic 'preserve-empty-args-test-command-lines'Brad King2024-10-025-7/+84
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc7aa3cd69 tests: Preserve empty arguments in test command lines 9f1703530b Help: Add pre-test to prose for gtest_discover_tests() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9575
| * | | | | | | tests: Preserve empty arguments in test command linesCraig Scott2024-10-025-7/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will now preserve empty values in the TEST_LAUNCHER and CROSSCOMPILING_EMULATOR target properties for tests added by: - The add_test() command. - The ExternalData_Add_Test() command from the ExternalData module. - The gtest_add_tests() or gtest_discover_tests() commands from the GoogleTest module. For the gtest_add_tests() and gtest_discover_tests() commands, empty elements in the values passed after the EXTRA_ARGS keyword are also now preserved. Policy CMP0178 is added to provide backward compatibility with the old behavior where empty values were silently discarded from the above cases. Fixes: #26337
* | | | | | | | Merge topic 'vs-tool-override-fix'Brad King2024-10-021-59/+66
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55831faf5b VS: Honor VS_TOOL_OVERRIDE for known source file types too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9851
| * | | | | | | VS: Honor VS_TOOL_OVERRIDE for known source file types tooDarragh Coy2024-10-011-59/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio Generator: The `VS_TOOL_OVERRIDE` source file property would previously only be respected for file types that CMake didn't know how to build out of the box. This change allows the user to override how any source file is built with a custom build tool, even ones with standard/recognized extensions such as `.cxx`, `.idl`, etc. Fixes: #26336
* | | | | | | | CMake Nightly Date StampKitware Robot2024-10-021-1/+1
|/ / / / / / /
* | | | | | | CMake Nightly Date StampKitware Robot2024-10-011-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'ctestxml-cpu-model-name'Brad King2024-09-301-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5af492178 CTest: Report CPU model name to dashboard Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9860
| * | | | | | CTest: Report CPU model name to dashboardDaniel Pfeifer2024-09-271-0/+1
| | | | | | |
* | | | | | | Merge topic 'enable-ssl-automatically'Brad King2024-09-301-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c462d9243b CYGWIN,MSYS: Build CMake with OpenSSL by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9858
| * | | | | | | CYGWIN,MSYS: Build CMake with OpenSSL by defaultBrad King2024-09-271-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the changes from commit 190a5fdffd (Automatically use OpenSSL by default on Linux and FreeBSD if available, 2016-02-26, v3.6.0-rc1~301^2) and commit dd3e476786 (OpenSSL: Issue an error if OpenSSL is not found, 2019-07-17, v3.16.0-rc1~379^2) to cover builds targeting the CYGWIN and MSYS runtime platforms.
* | | | | | | Merge topic 'aix-archive-shared-libraries'Brad King2024-09-301-2/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c12e0758b Ninja: Fix AIX shared library archiving Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9857
| * | | | | | | Ninja: Fix AIX shared library archivingAditya Vidyadhar Kamath2024-09-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend commit d27fe9dfba (AIX: Add option to archive shared libraries, 2024-06-18) to update the Ninja generator to support the new `AIX_SHARED_LIBRARY_ARCHIVE` feature. Fixes: #26332
* | | | | | | | Merge topic 'xcoff-archives'Brad King2024-09-301-17/+18
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd2c47ad11 AIX: Fix support for editing XCOFF binary inside an archive Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9837
| * | | | | | | AIX: Fix support for editing XCOFF binary inside an archiveAditya Vidyadhar Kamath2024-09-271-17/+18
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When AIX stores a `.so` inside a `.a` archive, the loader section is aligned to maximum of the text and data alignment. In commit 98013ad1ca (cmXCOFF: Add support for editing binary inside an archive, 2024-07-01) we only accounted for the data alignment. Issue: #26275
* | | | | | | CMake Nightly Date StampKitware Robot2024-09-301-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2024-09-291-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2024-09-281-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'curl-tls-version'Brad King2024-09-272-0/+21
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38390245a2 ctest: Require minimum TLS 1.2 by default 5e1a59dc2b file(DOWNLOAD/UPLOAD): Require minimum TLS 1.2 by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9848
| * | | | | | ctest: Require minimum TLS 1.2 by defaultBrad King2024-09-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #25701
| * | | | | | file(DOWNLOAD/UPLOAD): Require minimum TLS 1.2 by defaultBrad King2024-09-261-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25701
* | | | | | | Merge topic 'curl-default-cainfo'Brad King2024-09-271-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a06872f1e cmake: Add default CA path /var/ssl/certs on AIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9854
| * | | | | | | cmake: Add default CA path /var/ssl/certs on AIXBrad King2024-09-261-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend commit 0abd3e538e (cmake: Use a default CA path when not using system curl, 2015-01-22, v3.2.0-rc1~66^2) to cover AIX.
* | | | | | | | CMake Nightly Date StampKitware Robot2024-09-271-1/+1
|/ / / / / / /
* | | | | | | Merge topic 'link-strategy'Brad King2024-09-265-135/+190
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7abd3137b7 Linking: Optionally reorder direct dependencies from LINK_LIBRARIES 9285a9dc9a cmComputeLinkDepends: Add final dependency ordering to debug output f792db4ca2 cmComputeLinkDepends: Add undocumented per-target debug property 80b469a51d cmComputeLinkDepends: Factor out string literals as named constants 3bd73fcc76 cmComputeLinkDepends: Modernize member initialization 8db69c767b cmComputeLinkDepends: Remove redundant member dccdd030cd cmComputeLinkDepends: Replace depender index sentinel value with cm::optional 6c9d8dc243 cmComputeLinkDepends: Replace group index sentinel value with cm::optional ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9835
| * | | | | | | Linking: Optionally reorder direct dependencies from LINK_LIBRARIESBrad King2024-09-254-5/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Traditionally CMake generates link lines by starting with the direct link dependencies specified by `LINK_LIBRARIES` in their original order and then appending indirect dependencies that the direct dependencies do not express. This gives projects control over ordering among independent entries, which can be important when intermixing flags and libraries, or when multiple libraries provide the same symbol. However, it may also result in inefficient link lines. Add support for an alternative strategy that can reorder direct link dependencies to produce more efficient link lines. This is useful for projects that cannot easily specify their targets' direct dependencies in an order that satisfies indirect dependencies. Add a `CMAKE_LINK_LIBRARIES_STRATEGY` variable and corresponding `LINK_LIBRARIES_STRATEGY` target property to select a strategy. Fixes: #26271
| * | | | | | | cmComputeLinkDepends: Add final dependency ordering to debug outputBrad King2024-09-202-17/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print results of the main ordering algorithm before platform-specific filtering by `CMAKE_<LANG>_LINK_LIBRARIES_PROCESSING`.
| * | | | | | | cmComputeLinkDepends: Add undocumented per-target debug propertyBrad King2024-09-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be useful for testing.
| * | | | | | | cmComputeLinkDepends: Factor out string literals as named constantsBrad King2024-09-201-4/+6
| | | | | | | |
| * | | | | | | cmComputeLinkDepends: Modernize member initializationBrad King2024-09-202-30/+18
| | | | | | | |
| * | | | | | | cmComputeLinkDepends: Remove redundant memberBrad King2024-09-202-4/+2
| | | | | | | |
| * | | | | | | cmComputeLinkDepends: Replace depender index sentinel value with cm::optionalBrad King2024-09-202-25/+24
| | | | | | | |
| * | | | | | | cmComputeLinkDepends: Replace group index sentinel value with cm::optionalBrad King2024-09-202-33/+28
| | | | | | | |
| * | | | | | | cmComputeLinkDepends: Avoid unsigned integer rolloverBrad King2024-09-201-3/+2
| | | | | | | |
| * | | | | | | cmComputeLinkDepends: Shorten local variable nameBrad King2024-09-201-9/+9
| | | | | | | |
| * | | | | | | cmMakefileTargetGenerator: Avoid crash on GetLinkInformation failureBrad King2024-09-201-7/+8
| | | | | | | |
* | | | | | | | Merge topic 'net-sdk-configurations'Brad King2024-09-261-0/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55a5094f0e VS: Fix missing <Configurations> property for DOTNET_SDK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9849
| * | | | | | | | VS: Fix missing <Configurations> property for DOTNET_SDKCalum Robinson2024-09-251-0/+2
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes #26325
* | | | | | | | CMake Nightly Date StampKitware Robot2024-09-261-1/+1
|/ / / / / / /
* | | | | | | Merge topic 'nested_linker_prefixes'Brad King2024-09-251-49/+69
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e3895f4a8b Linking: Preserve nested LINKER: prefixes as written 4185dfbe1b Tests/LINK_OPTIONS: extract common code in test (NFC) 54381b5a81 Linking: extract wrapping linker options to a lambda (NFC) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9823
| * | | | | | | Linking: Preserve nested LINKER: prefixes as writtenGergely Meszaros2024-09-231-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously LINKER:,-Xlinker and -Wl, options nested inside LINKER: prefixes would be transformed to separate prefixed options. This is confusing and undocumented behavior, instead preserve these as written. Fixes: #26298
| * | | | | | | Linking: extract wrapping linker options to a lambda (NFC)Gergely Meszaros2024-09-181-34/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract logic to wrap flags in wrapOptions, it will be reused in a follow-up commit.
* | | | | | | | CMake Nightly Date StampKitware Robot2024-09-251-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'curl-tls-verify'Brad King2024-09-243-44/+79
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4e62bc943c ctest: Verify TLS server certificate by default 8e92ee34f6 file(DOWNLOAD/UPLOAD): Verify TLS server certificate by default dcaea54898 cmCTestCurl: Clarify names and logic using optional<bool> 03d37ae3ff cmFileCommand: Clarify names and logic using optional<bool> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9843
| * | | | | | | | ctest: Verify TLS server certificate by defaultBrad King2024-09-241-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #23608