summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Update cmake_minimum_required versions to 3.10Brad King2024-10-03338-353/+355
|
* Tests/RunCMake: Update cmake_minimum_required versions to 3.10Brad King2024-10-03190-189/+237
| | | | | For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.10 where possible.
* Tests/RunCMake: Match diagnostic line numbers more robustlyBrad King2024-10-0352-78/+78
|
* ExternalProject: Enable all policies in internal scriptsBrad King2024-10-039-9/+9
|
* Merge topic 'doc-find-progr'Brad King2024-10-031-0/+20
|\ | | | | | | | | | | | | 7a88ca2e56 Help: Document find_program filename suffix behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9871
| * Help: Document find_program filename suffix behaviorscivision2024-10-031-0/+20
| | | | | | | | Issue: #16453
* | Merge topic 'aix-rpath-padding'Brad King2024-10-031-12/+16
|\ \ | | | | | | | | | | | | | | | | | | 3e5b9229e0 AIX: Fix XCOFF editor to avoid duplicating standard libpath entries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9865
| * | AIX: Fix XCOFF editor to avoid duplicating standard libpath entriesAditya Vidyadhar Kamath2024-10-021-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | The `/usr/lib` and `/lib` entries need to be present, but do not need to be at the end. Avoid appending extra copies of the entries if they already exist. Closes: #26275
* | | Merge topic 'nvhpc23'Brad King2024-10-031-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 247497eacf NVHPC: Record C++23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9859
| * | | NVHPC: Record C++23 supportscivision2024-10-021-0/+7
| | |/ | |/| | | | | | | | | | | | | NVHPC 24.9 documents support for `-std=c++23` [1]. [1] https://docs.nvidia.com/hpc-sdk/archive/24.9/hpc-sdk-release-notes/index.html
* | | Merge topic 'cmake-host-executable-suffix'Brad King2024-10-035-1/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d2b89d5fa Add CMAKE_HOST_EXECUTABLE_SUFFIX for Unix/Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: shiz01 <shiz01@tutanota.com> Merge-request: !9863
| * | | Add CMAKE_HOST_EXECUTABLE_SUFFIX for Unix/Windowsleha-bot2024-10-025-1/+25
| |/ / | | | | | | | | | Closes: #17553
* | | Merge topic 'static-libraries-deduplication'Brad King2024-10-0319-15/+185
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-029-24/+134
| | | | | | | | | | | | | | | | Fixes: #26335
| * | | Tests/RunCMake/LinkLibrariesStrategy: Check ordering results more stronglyBrad King2024-10-0211-2/+62
| |/ /
* | | 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-0227-89/+521
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0227-80/+512
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Help: Add pre-test to prose for gtest_discover_tests()Craig Scott2024-09-301-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The prose previously gave the impression that discovery was always done as a post-build operation, but later in the documentation the DISCOVERY_MODE option is explained where pre-test can also be specified. Update the earlier prose to mention both methods equally.
* | | | Merge topic 'vs-tool-override-fix'Brad King2024-10-026-59/+140
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 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-016-59/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'FindOpenMP-CUDA'Brad King2024-09-307-37/+70
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f4cea94da FindOpenMP: Add support for CUDA when supported by the toolchain f8ed4d7c21 FindOpenMP: Factor out compiler id lookup 534923428a FindOpenMP: Simplify compiler driver check 42bf0f596e FindOpenMP: Simplify explicit "omp" library checks 5204262c0e ci: add libomp to cuda12.2 base image Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9861
| * | FindOpenMP: Add support for CUDA when supported by the toolchainBrad King2024-09-275-14/+56
| | | | | | | | | | | | NVCC supports OpenMP on the host when the host compiler does.
| * | FindOpenMP: Factor out compiler id lookupBrad King2024-09-271-3/+5
| | |
| * | FindOpenMP: Simplify compiler driver checkBrad King2024-09-271-14/+2
| | | | | | | | | | | | | | | | | | The compiler driver's verbose flag is needed only when linking because we parse its output to get the implicit link information added by the OpenMP flag.
| * | FindOpenMP: Simplify explicit "omp" library checksBrad King2024-09-271-7/+7
| | | | | | | | | | | | | | | | | | | | | For toolchains that do not provide a builtin `omp` library the compiler driver's OpenMP flag should not be needed when linking. We also do not need the compiler driver's verbose flag because we are not parsing its output.
| * | ci: add libomp to cuda12.2 base imageBrad King2024-09-272-1/+2
| | |
* | | 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-302-2/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-272-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge topic 'googletest-cleanup-internal'Craig Scott2024-09-302-129/+172
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2cc42d986d GoogleTest: Improve internally used variable names 188b7e7339 GoogleTest: Minor reformatting 0aa445bb9c GoogleTest: Modernize policies using block() / endblock() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9862
| * | | GoogleTest: Improve internally used variable namesCraig Scott2024-09-272-119/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use an "arg" prefix for cmake_parse_arguments() rather than an empty string or uppercase ARGS so that usages of parsed values don't start with a bare underscore or look fully uppercase. This makes it harder to miss them or mistake them for keywords. - Use lowercase for names of positional function arguments so they don't get mistaken for keywords.
| * | | GoogleTest: Minor reformattingCraig Scott2024-09-271-18/+29
| | | | | | | | | | | | | | | | | | | | - Wrap long lines in file() calls. - Condense some unnecessary and confusing quotes/spaces in a call many arguments built up in a string.
| * | | GoogleTest: Modernize policies using block() / endblock()Craig Scott2024-09-272-4/+4
| | | |
* | | | 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 branch 'release-3.30'Brad King2024-09-271-9/+10
|\ \ \
| * | | CMake 3.30.4v3.30.4Brad King2024-09-272-10/+11
| | | |
* | | | Merge topic 'curl-tls-version'Brad King2024-09-2710-8/+51
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-263-0/+12
| | | | | | | | | | | | | | | | | | | | Issue: #25701