summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Add option to skip passing platform variablesBrad King2022-05-1610-3/+45
| | | | | | | Add a `CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES` variable to tell `try_compile` not to pass platform variables to the test project. Issue: #23219
* try_compile: Propagate platform variables in project-mode tooBrad King2022-05-1614-2/+83
| | | | | | | | | Add policy CMP0137 to propagate both our builtin variables and those listed by `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` to `try_compile` whole-project builds. Inspired-by: Alexander Neumann <Alexander.Neumann@hamburg.de> Fixes: #23219
* CMake Nightly Date StampKitware Robot2022-05-111-1/+1
|
* Merge topic 'FindOpenSSL-qnx7.0'Brad King2022-05-101-3/+19
|\ | | | | | | | | | | | | | | e6656381aa FindOpenSSL: Support version 1.1.1 under QNX 7.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7232
| * FindOpenSSL: Support version 1.1.1 under QNX 7.0Georg Lutz2022-05-061-3/+19
| | | | | | | | | | QNX 7.0 allows parallel installation of OpenSSL 1.0.2 and OpenSSL 1.1.1. The 1.1.1 version has "1_1" appended to the include dir and library names.
* | Merge topic 'stl-containers-helpers'Brad King2022-05-1014-198/+433
|\ \ | | | | | | | | | | | | | | | | | | 95a1b2c7b8 stl containers: enhance compatibility with C++14, C++17 and C++20 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7244
| * | stl containers: enhance compatibility with C++14, C++17 and C++20Marc Chevrier2022-05-0714-198/+433
| | | | | | | | | | | | | | | | | | * Ensure various functions working with containers are available through all headers as specified by the standard. * Add C++20 std::ssize() function.
* | | Merge topic 'werror-property'Brad King2022-05-1033-27/+167
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76a08cd253 COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errors Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !7187
| * | | COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errorsMartin Duffy2022-05-0633-27/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `COMPILE_WARNING_AS_ERROR` target property and supporting `CMAKE_COMPILE_WARNING_AS_ERROR` variable. `COMPILE_WARNING_AS_ERROR` is initialized by `CMAKE_COMPILE_WARNING_AS_ERROR`. It is a boolean variable. If it is true, it expands to a different flag depending on the compiler such that any warnings at compile will be treated as errors. Supports compiler ids that I could find a relevant flag for.
* | | | Merge topic 'watcom-runtime-library-v2'Brad King2022-05-1025-6/+335
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a2b016bbd OpenWatcom: Support CMAKE_WATCOM_RUNTIME_LIBRARY with Linux and OS/2 builds 33da5824ac OpenWatcom: Allow specifying the runtime library Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7184
| * | | | OpenWatcom: Support CMAKE_WATCOM_RUNTIME_LIBRARY with Linux and OS/2 buildsCameron Cawley2022-05-0610-6/+42
| | | | |
| * | | | OpenWatcom: Allow specifying the runtime libraryCameron Cawley2022-05-0619-6/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `CMAKE_WATCOM_RUNTIME_LIBRARY` variable to control the runtime library selection. Add policy CMP0136 to switch to in place of the old hard-coded default flags. Fixes: #23178
* | | | | CMake Nightly Date StampKitware Robot2022-05-101-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2022-05-091-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2022-05-081-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2022-05-071-1/+1
| | | | |
* | | | | Merge topic 'json-pass-state'Kyle Edwards2022-05-067-409/+377
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b7fc2df0b cmJSONHelpers: Allow passing state context 30336dab66 cmJSONHelpers: Restructure cmJSONHelpers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7231
| * | | | cmJSONHelpers: Allow passing state contextMartin Duffy2022-05-051-57/+70
| | | | | | | | | | | | | | | | | | | | Allow for passing of context to JSON Helper methods in cmJSONHelpers.
| * | | | cmJSONHelpers: Restructure cmJSONHelpersMartin Duffy2022-05-057-407/+362
| | | | | | | | | | | | | | | | | | | | Restructure cmJSONHelpers to prevent SunPro errors when passing context.
* | | | | Merge topic 'truncation_relnotes'Brad King2022-05-062-2/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99cad40172 Help: Document version of ctest(1) adding output truncation mode a6f2c13727 Help: Add release notes for test-output-truncation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7242
| * | | | | Help: Document version of ctest(1) adding output truncation modeBrad King2022-05-051-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While at it, fix mode value markup. Issue: #23206
| * | | | | Help: Add release notes for test-output-truncationFrank Winklmeier2022-05-051-0/+11
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Add missing release notes for test-output-truncation. Issue: #23206
* | | | | Merge topic 'try_compile-platform-vars'Brad King2022-05-061-107/+103
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40f380fcb0 cmCoreTryCompile: Replace vector push_back with emplace_back c6b0657f5b cmCoreTryCompile: Move platform variable forwarding to dedicated block Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7243
| * | | | | cmCoreTryCompile: Replace vector push_back with emplace_backBrad King2022-05-051-12/+12
| | | | | |
| * | | | | cmCoreTryCompile: Move platform variable forwarding to dedicated blockBrad King2022-05-051-97/+93
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to enable the behavior under more conditions. Issue: #23219
* | | | | Merge branch 'release-3.23'Brad King2022-05-060-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge topic 'Java-version-handling' into release-3.23Brad King2022-05-062-77/+47
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93e18a4eb6 FindJava, FindJNI: ensure correct handling of versions on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7241
* | \ \ \ \ \ Merge topic 'Java-version-handling'Brad King2022-05-062-77/+47
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c80763c701 Merge branch 'backport-3.23-Java-version-handling' into Java-version-handling 93e18a4eb6 FindJava, FindJNI: ensure correct handling of versions on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7241
| * \ \ \ \ \ \ Merge branch 'backport-3.23-Java-version-handling' into Java-version-handlingMarc Chevrier2022-05-052-77/+47
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | |
| | * | | | | | FindJava, FindJNI: ensure correct handling of versions on WindowsMarc Chevrier2022-05-052-77/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * versions are sorted in correct order * EXACT keyword is taken into account Fixes: #23479
* | | | | | | | Merge topic 'FetchContent_find_package_integration'Craig Scott2022-05-0651-60/+1010
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 29e31e2825 Packages: Integrate FetchContent and find_package() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: huangqinjin <huangqinjin@gmail.com> Merge-request: !5688
| * | | | | | | Packages: Integrate FetchContent and find_package()Craig Scott2022-05-0351-60/+1010
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow FetchContent_MakeAvailable() to try a call to find_package() first, or redirect a find_package() call to FetchContent_MakeAvailable(). The user can set variables to control which of these are allowed or tried by default. Fixes: #21687
* | | | | | | | CMake Nightly Date StampKitware Robot2022-05-061-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'HelpExit'Brad King2022-05-052-0/+15
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aea13d20b Help: for message(FATAL_ERROR), document nonzero exit code cc97725137 Help: document exit code of command cmake(1) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7175
| * | | | | | | | Help: for message(FATAL_ERROR), document nonzero exit codeJoachim Wuttke (h)2022-05-052-2/+6
| | | | | | | | |
| * | | | | | | | Help: document exit code of command cmake(1)Joachim Wuttke (h)2022-05-041-0/+11
| | | | | | | | |
* | | | | | | | | Merge topic 'HelpEnv'Brad King2022-05-054-5/+17
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a693da21f3 Help: from command:if, link to environment variables ab2bdbaf31 Help: Cross-reference ENV operator from cmake-language(7) manual ee4e728a69 Help: From Environment Variables section, link to cmake -E env etc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7239
| * | | | | | | | Help: from command:if, link to environment variablesJoachim Wuttke (h)2022-05-051-2/+3
| | | | | | | | |
| * | | | | | | | Help: Cross-reference ENV operator from cmake-language(7) manualJoachim Wuttke (h)2022-05-052-3/+5
| | | | | | | | |
| * | | | | | | | Help: From Environment Variables section, link to cmake -E env etcJoachim Wuttke (h)2022-05-052-0/+9
| |/ / / / / / /
* | | | | | | | Merge topic 'cpack-wix-arch'Brad King2022-05-053-1/+27
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cae7e5e38d CPack/WIX: Add CPACK_WIX_ARCHITECTURE to support Windows for ARM installers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7236
| * | | | | | | | CPack/WIX: Add CPACK_WIX_ARCHITECTURE to support Windows for ARM installersjakoblover2022-05-053-1/+27
| | | | | | | | |
* | | | | | | | | Merge topic 'ExternalProject-no-extract-timestamp'Brad King2022-05-0521-5/+149
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a283e58b51 ExternalProject: Add DOWNLOAD_EXTRACT_TIMESTAMP option and policy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7137
| * | | | | | | | | ExternalProject: Add DOWNLOAD_EXTRACT_TIMESTAMP option and policyKasper Laudrup2022-05-0421-5/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the option to keep the current filestamps when extracting an archive in ExternalProject_Add. Enabling this option makes the behavior consistent with how ExternalProject_Add is used when checking out code from revision control instead of an archive. Fixes: #22746
* | | | | | | | | | Merge topic 'remove-PackageMaker-generator'Brad King2022-05-0516-751/+13
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c150f89f4d CPack: Remove the deprecated PackageMaker generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7221
| * | | | | | | | | | CPack: Remove the deprecated PackageMaker generatorCraig Scott2022-05-0416-751/+13
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CPack generator has been deprecated since commit 7bf187499f (CPack: Deprecate PackageMaker generator, 2020-01-31). Fixes: #23344
* | | | | | | | | | Merge topic 'better_error_message_when_lang_not_enabled'Brad King2022-05-058-13/+56
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 627ef4c1d0 Provide guidance when trying to use non-enabled language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7213
| * | | | | | | | | Provide guidance when trying to use non-enabled languageRobert Maynard2022-05-048-13/+56
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #23463
* | | | | | | | | CMake Nightly Date StampKitware Robot2022-05-051-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'less_ptx_for_all_all-major_native'Brad King2022-05-047-12/+25
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8591f1516 CUDA: native/all/all-major generates minimal set of ptx code Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !7216