d1cb554 | Brad King | 02 March 2020, 19:15:14 UTC | CMake 3.17.0-rc2 | 02 March 2020, 19:15:14 UTC |
5f36f10 | Brad King | 28 February 2020, 16:31:58 UTC | Merge topic 'ninja-multi-variable-shuffle-again' into release-3.17 c794b70f19 Ninja Multi-Config: Always generate build.ninja 9590c3a400 Generator: Don't allow Ninja Multi-Config variables on other generators 7a63dafafb Ninja Multi-Config: Remove "NMC" from variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4403 | 28 February 2020, 16:32:06 UTC |
18c8fbc | Brad King | 28 February 2020, 16:15:08 UTC | Merge topic 'foreach-range-issues' into release-3.17 185d1aefaa foreach: Set fatal error on invalid range a33b3949e5 foreach: Fix crash when parsing invalid integer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4407 | 28 February 2020, 16:15:30 UTC |
15ac1f6 | Brad King | 28 February 2020, 16:14:25 UTC | Merge topic 'q_namespace_export' into release-3.17 426941c433 Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4398 | 28 February 2020, 16:14:33 UTC |
185d1ae | Kyle Edwards | 27 February 2020, 18:54:42 UTC | foreach: Set fatal error on invalid range Fixes: #20394 | 27 February 2020, 19:52:06 UTC |
a33b394 | Kyle Edwards | 27 February 2020, 18:51:09 UTC | foreach: Fix crash when parsing invalid integer Fixes: #20393 | 27 February 2020, 19:52:06 UTC |
c794b70 | Kyle Edwards | 26 February 2020, 22:19:47 UTC | Ninja Multi-Config: Always generate build.ninja If CMAKE_DEFAULT_BUILD_TYPE is not specified, use the first item from CMAKE_CONFIGURATION_TYPES instead. | 27 February 2020, 15:39:35 UTC |
9590c3a | Kyle Edwards | 26 February 2020, 21:37:30 UTC | Generator: Don't allow Ninja Multi-Config variables on other generators We may want to enable these variables later on with specific semantics. To avoid breaking backwards compatibility, make it an error to use them for now. | 27 February 2020, 14:23:08 UTC |
7a63daf | Kyle Edwards | 26 February 2020, 18:22:32 UTC | Ninja Multi-Config: Remove "NMC" from variable names Also rename `..._DEFAULT_BUILD_FILE_CONFIG` to `..._DEFAULT_BUILD_TYPE`. These name changes make the variables meaningful for future use by other generators. | 27 February 2020, 14:22:08 UTC |
813b289 | Brad King | 27 February 2020, 13:48:41 UTC | Merge topic 'pch-file-time' into release-3.17 7e9b9fe918 PCH: Copy the timestamp from an absolute header file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4400 | 27 February 2020, 13:48:49 UTC |
e619d29 | Brad King | 27 February 2020, 13:45:56 UTC | Merge topic 'update-kwsys' into release-3.17 06702acb28 KWSys: Terminal: Add st-256color to VT100 color support whitelist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4394 | 27 February 2020, 13:46:04 UTC |
b766d2c | Brad King | 27 February 2020, 13:31:35 UTC | Merge topic 'FindPython-cache-cleanup' into release-3.17 42c6a1bfee FindPython: Do not cache computed result variables a7b4516e1a FindPython: Mark non-public cache entries INTERNAL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4393 | 27 February 2020, 13:31:45 UTC |
93287e3 | Brad King | 26 February 2020, 15:09:18 UTC | Merge topic 'backport-ctest-resource-allocation-doc' into release-3.17 3bff839706 Help: Clarify that the CTest resource allocation feature doesn't oversubscribe Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4401 | 26 February 2020, 15:09:24 UTC |
7e9b9fe | Cristian Adam | 26 February 2020, 14:16:30 UTC | PCH: Copy the timestamp from an absolute header file If `target_precompile_headers` contains a file from the project, then CMake will set the timestamp for `cmake_pch.h|xx` from that file. This helps with ccache and precompile headers. Fixes: #19923 | 26 February 2020, 15:05:47 UTC |
3bff839 | Kyle Edwards | 21 February 2020, 13:46:02 UTC | Help: Clarify that the CTest resource allocation feature doesn't oversubscribe | 26 February 2020, 14:56:40 UTC |
42c6a1b | Marc Chevrier | 26 February 2020, 11:05:18 UTC | FindPython: Do not cache computed result variables Since commit 06d9e67fbd (FindPython: Add capability to specify directly artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally add the result variables `Python*_LIBRARY_RELEASE` and `Python*_LIBRARY_DEBUG` to the cache. They are always computed from other results and so should not be presented to users in cmake-gui and ccmake to edit. Issue: #20362 | 26 February 2020, 13:08:26 UTC |
a7b4516 | Marc Chevrier | 25 February 2020, 10:06:04 UTC | FindPython: Mark non-public cache entries INTERNAL Since commit 06d9e67fbd (FindPython: Add capability to specify directly artifacts, 2019-08-15, v3.16.0-rc1~157^2) we accidentally expose cache entries named `_Python...` to users in cmake-gui and ccmake. Mark those entries as `INTERNAL` to hide them. Issue: #20362 | 26 February 2020, 13:08:03 UTC |
e97881a | Brad King | 26 February 2020, 12:51:06 UTC | Merge topic 'cmake-cfg-intdir-ninja-multi' into release-3.17 853c3eac6d Help: Note that CMAKE_CFG_INTDIR is not fully supported on Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4397 | 26 February 2020, 12:51:13 UTC |
d13489f | Brad King | 26 February 2020, 12:42:16 UTC | Merge topic 'RunCMake-test-lang' into release-3.17 95dbcf0598 Tests: fix RunCMake.Make test when run on systems with non-english locale Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4389 | 26 February 2020, 12:42:23 UTC |
95dbcf0 | Rolf Eike Beer | 24 February 2020, 16:16:40 UTC | Tests: fix RunCMake.Make test when run on systems with non-english locale Set `LANG=C` in the environment so the output of `make` is predictable. Fixes: #19689 | 26 February 2020, 12:41:07 UTC |
ba1dc99 | Brad King | 26 February 2020, 12:32:49 UTC | Merge topic 'ninja-multi-fix-macos-failures' into release-3.17 cc4e304800 Tests: Fix CFBundleTest for Ninja Multi-Config bcf4da52d8 Tests: Fix CustComDepend test for Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4396 | 26 February 2020, 12:32:58 UTC |
426941c | Richard | 26 February 2020, 08:21:55 UTC | Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC Qt 5.14 introduced a new moc keyword `Q_NAMESPACE_EXPORT`. Qt-Issue: https://bugreports.qt.io/browse/QTBUG-68014 | 26 February 2020, 12:18:44 UTC |
853c3ea | Kyle Edwards | 25 February 2020, 19:00:43 UTC | Help: Note that CMAKE_CFG_INTDIR is not fully supported on Ninja Multi-Config | 25 February 2020, 19:00:43 UTC |
cc4e304 | Kyle Edwards | 25 February 2020, 15:38:38 UTC | Tests: Fix CFBundleTest for Ninja Multi-Config | 25 February 2020, 18:39:46 UTC |
bcf4da5 | Kyle Edwards | 25 February 2020, 15:38:07 UTC | Tests: Fix CustComDepend test for Ninja Multi-Config | 25 February 2020, 18:39:46 UTC |
06702ac | Brad King | 25 February 2020, 14:42:55 UTC | KWSys: Terminal: Add st-256color to VT100 color support whitelist Backport KWSys commit `44eaaa6e8` (Terminal: Add st-256color to VT100 color support whitelist, 2020-02-19) to CMake 3.17. | 25 February 2020, 14:42:55 UTC |
cf789bb | Brad King | 25 February 2020, 14:00:17 UTC | Merge topic 'ctest-failure-error-reporting' into release-3.17 a5be3916ee CTest: Provide more detailed information on resource allocation error f0df3ed5b9 Refactor: Provide more detailed error information from TryAllocateResources() f1c34443b7 CTest: Improve error reporting with bad working directory for tests 1dec359422 Refactor: Require detail when calling cmCTestRunTest::StartFailure() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4390 | 25 February 2020, 14:00:25 UTC |
8a7c485 | Brad King | 25 February 2020, 13:58:09 UTC | Merge topic 'FindCUDA-no-threads-target' into release-3.17 b9d67447c3 FindCUDA: Only depend on Threads::Threads on platforms that need it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4377 | 25 February 2020, 13:58:17 UTC |
3a64816 | Brad King | 25 February 2020, 13:55:42 UTC | Merge topic 'FindPkgConfig-scope' into release-3.17 c3e0d1ffe9 FindPkgConfig: set policies CMP0054 and CMP0057 to new Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4388 | 25 February 2020, 13:55:49 UTC |
1d338dc | Brad King | 25 February 2020, 13:54:35 UTC | Merge topic 'cuda-non-device-link' into release-3.17 7da2c8c543 Merge branch 'backport-cuda-non-device-link' 738f3f23aa Ninja: Do not use nvcc response files with non-nvcc tools Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !4376 | 25 February 2020, 13:54:45 UTC |
a5be391 | Kyle Edwards | 24 February 2020, 16:41:06 UTC | CTest: Provide more detailed information on resource allocation error | 24 February 2020, 20:44:01 UTC |
f0df3ed | Kyle Edwards | 24 February 2020, 15:53:32 UTC | Refactor: Provide more detailed error information from TryAllocateResources() | 24 February 2020, 20:44:01 UTC |
f1c3444 | Kyle Edwards | 21 February 2020, 21:58:08 UTC | CTest: Improve error reporting with bad working directory for tests | 24 February 2020, 20:44:01 UTC |
1dec359 | Kyle Edwards | 21 February 2020, 21:53:48 UTC | Refactor: Require detail when calling cmCTestRunTest::StartFailure() | 24 February 2020, 20:44:01 UTC |
b9d6744 | Robert Maynard | 20 February 2020, 13:18:00 UTC | FindCUDA: Only depend on Threads::Threads on platforms that need it In commit 46371132b3 (FindCUDA: CUDA_LIBRARIES doesn't contain raw `-pthread`, 2019-11-11, v3.17.0-rc1~455^2) we introduced use of the `Threads::Threads` target, but we do not `find_package(Threads)` on all platforms. Use the target only if it exists. | 24 February 2020, 19:14:38 UTC |
7da2c8c | Brad King | 24 February 2020, 18:33:54 UTC | Merge branch 'backport-cuda-non-device-link' | 24 February 2020, 18:34:13 UTC |
738f3f2 | Francisco Facioni | 19 February 2020, 17:33:35 UTC | Ninja: Do not use nvcc response files with non-nvcc tools Since commit d91b5a72cd (Ninja: Add support for CUDA nvcc response files, 2019-05-30, v3.15.0-rc1~8^2) we use NVCC's `--options-file` option to avoid long link command lines via a response file. However, for non-device linking the host tools are used and the option does not make sense. Update the logic to use `--options-file` only for device linking. Linking with the host tools already has its own logic for response files. Fixes: #19954 | 24 February 2020, 18:31:33 UTC |
8d6ea44 | Brad King | 24 February 2020, 18:11:49 UTC | Merge topic 'pch-create-via-include' into release-3.17 5c6d6ec27c PCH: Clang: Update PCH usage flags to include original header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4360 | 24 February 2020, 18:12:08 UTC |
5c6d6ec | Sergey Larin | 12 February 2020, 14:17:33 UTC | PCH: Clang: Update PCH usage flags to include original header Add an additional include flag to PCH usage command line to fix programs that rely on `compile_commands.json` file. Pass it to the preprocessor directly to avoid compiler driver to change it to '-include-pch'. When preprocessor is requested to preprocess a file, it tries to get the original filename from '.pch' and uses that file for preprocessing. CMake generates a '.pch' file from the '.hxx' file by passing an empty '.cxx' source file to the compiler as a compilation unit and the header file with the '-include' flag. After that, compiler puts compilation unit filename in the '.pch' as the original filename. However, CMake build system uses empty file as the source file and passes the header file using '-include-pch' flag. As a result, Clang uses the wrong file for preprocessing and produces the corrupted preprocessed file. Fixes: #20355 Signed-off-by: Sergey Larin <cerg2010cerg2010@mail.ru> | 24 February 2020, 15:53:39 UTC |
c3e0d1f | Rolf Eike Beer | 24 February 2020, 15:42:34 UTC | FindPkgConfig: set policies CMP0054 and CMP0057 to new One may encounter warnings if FindPkgConfig is used in any project, even indirectly, that has set any of these policies to old explicitely or requires an older version. | 24 February 2020, 15:42:34 UTC |
fe564f3 | Brad King | 18 February 2020, 16:48:53 UTC | Merge topic 'update-kwsys' into release-3.17 ce59cabc70 KWSys: SystemTools: CopyFileIfDifferent: Fix endless recursion Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4361 | 18 February 2020, 16:49:00 UTC |
ce59cab | Brad King | 18 February 2020, 16:41:36 UTC | KWSys: SystemTools: CopyFileIfDifferent: Fix endless recursion Backport KWSys commit `ea77593a1` (SystemTools: CopyFileIfDifferent: Fix endless recursion, 2020-02-13) for the CMake 3.17 branch. Fixes: #20347 | 18 February 2020, 16:41:36 UTC |
77b537c | Brad King | 18 February 2020, 16:21:13 UTC | Merge topic 'swift-exe-rpath' into release-3.17 321df5783d Swift: support `-rpath` for executables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4365 | 18 February 2020, 16:21:46 UTC |
2dad438 | Brad King | 18 February 2020, 16:20:48 UTC | Merge topic 'ninja-multi-framework-dependency-autogen-fix' into release-3.17 7abc3d61ac Ninja Multi-Config: Fix issue with framework dependencies and Autogen Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4363 | 18 February 2020, 16:20:56 UTC |
321df57 | Saleem Abdulrasool | 15 February 2020, 19:17:58 UTC | Swift: support `-rpath` for executables This adjusts the flags to enable setting the RPATH for executables. | 17 February 2020, 16:07:40 UTC |
bf718cc | Brad King | 17 February 2020, 15:39:38 UTC | Merge topic 'git-config-with-spaces' into release-3.17 ef3194a6f8 ExternalProject: Quote each git --config option to handle spaces 40d1d29cfa Tests: Add missing ExternalProject smoke tests afc8956765 Tests: Fix test_clean target missing some test directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4364 | 17 February 2020, 15:39:46 UTC |
7abc3d6 | Kyle Edwards | 13 February 2020, 16:12:34 UTC | Ninja Multi-Config: Fix issue with framework dependencies and Autogen Fixes: #20345 | 17 February 2020, 13:24:57 UTC |
ef3194a | Craig Scott | 15 February 2020, 02:21:32 UTC | ExternalProject: Quote each git --config option to handle spaces Fixes: #20354 | 15 February 2020, 02:23:56 UTC |
40d1d29 | Craig Scott | 15 February 2020, 02:20:37 UTC | Tests: Add missing ExternalProject smoke tests | 15 February 2020, 02:23:46 UTC |
afc8956 | Craig Scott | 15 February 2020, 02:19:34 UTC | Tests: Fix test_clean target missing some test directories | 15 February 2020, 02:23:37 UTC |
b88a671 | Brad King | 12 February 2020, 20:04:35 UTC | Merge topic 'doc-ascii' into release-3.17 c5d7c29137 Help: Replace UTF-8 apostrophe with ascii apostrophe Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4358 | 12 February 2020, 20:04:41 UTC |
c5d7c29 | Brad King | 12 February 2020, 19:31:58 UTC | Help: Replace UTF-8 apostrophe with ascii apostrophe Also replace UTF-8 graphical characters with simple dashes. Fixes: #20349 | 12 February 2020, 19:37:41 UTC |
125f045 | Brad King | 12 February 2020, 15:32:47 UTC | CMake 3.17.0-rc1 | 12 February 2020, 15:32:47 UTC |
6f2464b | Brad King | 12 February 2020, 15:32:00 UTC | Merge topic 'doc-cpack' into release-3.17 3af0b33ec6 Help: module CPack: Make internal hyperlink target more unique Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4353 | 12 February 2020, 15:32:05 UTC |
3af0b33 | Brad King | 12 February 2020, 15:27:57 UTC | Help: module CPack: Make internal hyperlink target more unique We already have a `.. _targets:` in `Help/command/install.rst`. | 12 February 2020, 15:28:10 UTC |
9c9ed28 | Brad King | 12 February 2020, 15:01:33 UTC | Merge topic 'doc-cpack' into release-3.17 59e9f33d78 Help: module CPack: New section on targets. f33708eed9 Help: module CPack: add cross-reference to cpack-generators(7). 4949e1261a Help: module CPack. Explain usage of the build targets. 72eaeb41f5 Help: module CPack: correction: 2 config files are generated, not just 1 c35a9ff9c3 Help: CPack module: Correct the summary (configure, not build) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4352 | 12 February 2020, 15:01:40 UTC |
59e9f33 | Joachim Wuttke (o) | 12 February 2020, 14:40:04 UTC | Help: module CPack: New section on targets. To explain in full detail to what extent the targets package and package_source are supported by different generators. | 12 February 2020, 14:49:26 UTC |
42f77c7 | Brad King | 12 February 2020, 14:35:24 UTC | Merge topic 'PrintSystemInformation' into release-3.17 1e9328a00d Help: CMakePrintSystemInformation.cmake: Minor corrections. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4351 | 12 February 2020, 14:36:12 UTC |
9fc86ef | Brad King | 12 February 2020, 14:35:16 UTC | Merge topic 'cpack-ifw-qt-links' into release-3.17 e240371ab1 Help: CPackIFWGenerator: explain relation to CPackIWF 78779c6111 Help: Show external link only once per page; explain abbreviation QtIFW. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4348 | 12 February 2020, 14:35:22 UTC |
645474d | Brad King | 12 February 2020, 14:15:37 UTC | Merge topic 'ninja-multi-default-configs-fix' into release-3.17 46c836644d Ninja Multi-Config: Fix issue with "all" in CMAKE_NMC_DEFAULT_CONFIGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4349 | 12 February 2020, 14:15:54 UTC |
10b834a | Brad King | 12 February 2020, 14:14:58 UTC | Merge topic 'file-CONFIGURE_DEPENDS-verify-CMP0009' into release-3.17 818ec34bdd file: GLOB_RECURSE VerifyGlobs.cmake should have CMP0009 set to new b620dc566d file: Fix GLOB_RECURSE LIST_DIRECTORIES documentation regarding CMP0009 715f90bdd9 Tests: Perform minor cleanups in RunCMake.file test Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4342 | 12 February 2020, 14:15:07 UTC |
96ee8b7 | Brad King | 12 February 2020, 14:05:20 UTC | Merge topic 'install-default-fix' into release-3.17 9442ae5083 install: Fix regression when using default destinations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4340 | 12 February 2020, 14:05:31 UTC |
f33708e | Joachim Wuttke (o) | 12 February 2020, 12:37:15 UTC | Help: module CPack: add cross-reference to cpack-generators(7). | 12 February 2020, 12:37:15 UTC |
4949e12 | Joachim Wuttke (o) | 12 February 2020, 12:23:08 UTC | Help: module CPack. Explain usage of the build targets. Explain the usage of the two new build targets, package and package_source. | 12 February 2020, 12:23:08 UTC |
72eaeb4 | Joachim Wuttke (o) | 12 February 2020, 12:07:31 UTC | Help: module CPack: correction: 2 config files are generated, not just 1 Besides CPackConfig.cmake, the module also generates CPackSourceConfig.cmake. | 12 February 2020, 12:22:51 UTC |
c35a9ff | Joachim Wuttke (o) | 12 February 2020, 11:37:48 UTC | Help: CPack module: Correct the summary (configure, not build) Including CPack does not "build" installers. It just *configures* them. | 12 February 2020, 11:37:48 UTC |
1e9328a | Joachim Wuttke (o) | 12 February 2020, 11:32:23 UTC | Help: CMakePrintSystemInformation.cmake: Minor corrections. Punctuation. "file" -> "module" | 12 February 2020, 11:34:08 UTC |
46c8366 | Kyle Edwards | 11 February 2020, 15:49:54 UTC | Ninja Multi-Config: Fix issue with "all" in CMAKE_NMC_DEFAULT_CONFIGS Prior to this fix, CMAKE_NMC_DEFAULT_CONFIGS would inherit "all" from the union of CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG and CMAKE_NMC_CROSS_CONFIGS. This is inconsistent with the behavior of the "all" target signifying CMAKE_NMC_CROSS_CONFIGS. Update "all" in CMAKE_NMC_DEFAULT_CONFIGS to inherit only from CMAKE_NMC_CROSS_CONFIGS. | 11 February 2020, 15:49:54 UTC |
e240371 | Joachim Wuttke (o) | 11 February 2020, 15:27:27 UTC | Help: CPackIFWGenerator: explain relation to CPackIWF * Make overview more focussed * Explain the relation to CPackIFW | 11 February 2020, 15:47:26 UTC |
78779c6 | Joachim Wuttke (o) | 11 February 2020, 15:05:17 UTC | Help: Show external link only once per page; explain abbreviation QtIFW. | 11 February 2020, 15:47:26 UTC |
0db0b72 | Brad King | 11 February 2020, 14:08:31 UTC | Merge topic 'link-line-backtrace' into release-3.17 8752c1bd64 Merge branch 'backport-3.16-link-line-backtrace' e756328434 Propagate backtraces from LINK_LIBRARIES through to link line items Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: Dennis Klein <d.klein@gsi.de> Merge-request: !4344 | 11 February 2020, 14:08:38 UTC |
818ec34 | Shane Parris | 10 February 2020, 22:26:28 UTC | file: GLOB_RECURSE VerifyGlobs.cmake should have CMP0009 set to new In certain cases, rebuilds with CMake using the CONFIGURE_DEPENDS flag with GLOB_RECURSE could result in a reconfigure loop due to CMP0009 not being propogated to the generated VerifyGlobs.cmake script. During the inital configuration phase, RecurseThroughSymlinksOn() is called for recursive glob operations either by having the CMP0009 status not set to NEW or by explicitly providing the FOLLOW_SYMLINKS flag. At the end when the VerifyGlobs script is created, the FOLLOW_SYMLINKS flag is written according to the final resolved form through a call to GetRecurseThroughSymlinks(). Thus, setting CMP0009 to NEW in the generated file is safe and allows correct behavior whether or not the end user sets the policy status to NEW or OLD. | 11 February 2020, 13:45:35 UTC |
b620dc5 | Shane Parris | 10 February 2020, 22:30:17 UTC | file: Fix GLOB_RECURSE LIST_DIRECTORIES documentation regarding CMP0009 | 11 February 2020, 13:45:35 UTC |
715f90b | Shane Parris | 10 February 2020, 22:31:52 UTC | Tests: Perform minor cleanups in RunCMake.file test | 11 February 2020, 13:45:35 UTC |
9442ae5 | Kyle Edwards | 10 February 2020, 15:15:59 UTC | install: Fix regression when using default destinations In commit 9fc20a4f3e (install: Add sane set of defaults for DESTINATION and file type parameters, 2018-11-02, v3.14.0-rc1~410^2~1), a regression was introduced, in which an `install(TARGETS)` with a RUNTIME/LIBRARY/ARCHIVE DESTINATION but no PUBLIC_HEADER/PRIVATE_HEADER DESTINATION would then install the headers. The old behavior did not do this. Restore the old behavior. Fixes: #20326 | 11 February 2020, 13:34:16 UTC |
a55d0c1 | Brad King | 11 February 2020, 13:26:25 UTC | Merge topic 'ExternalProject-submodules-recurse' into release-3.17 0ba8010255 ExternalProject: Fix git submodule recursion on update Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4346 | 11 February 2020, 13:26:35 UTC |
00cd726 | Brad King | 11 February 2020, 13:22:40 UTC | Merge topic 'FindOpenMP-clang-windows' into release-3.17 ceb5ee4a7b FindOpenMP: Add support for Clang on Windows 2dbff623f9 FindOpenMP: Save flags/libs in cache entries each time they are detected Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4327 | 11 February 2020, 13:22:49 UTC |
bdd4fb3 | Brad King | 11 February 2020, 13:20:57 UTC | Merge topic 'FindPython-reduce-resources-comsumption' into release-3.17 3dab4682f6 FindPython: reduces consumption of resources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4338 | 11 February 2020, 13:21:06 UTC |
8e39e0c | Brad King | 11 February 2020, 13:19:52 UTC | Merge topic 'swift-no-sdk-include' into release-3.17 5c2a92f44f Swift: Exclude SDK include paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4315 | 11 February 2020, 13:20:03 UTC |
783f472 | Brad King | 11 February 2020, 13:17:38 UTC | Merge topic 'FindMPI-fix-rerun' into release-3.17 b4d5ea8233 FindMPI: Preserve order of include directories on re-runs of CMake 8261ee3a9c FindMPI: Restore re-construction of include directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4341 | 11 February 2020, 13:17:45 UTC |
0ba8010 | Charis Marangos | 10 February 2020, 21:21:20 UTC | ExternalProject: Fix git submodule recursion on update In commit 5bc6230741 (ExternalProject: Option to turn off recursive update of git submodules, 2019-10-16) we implemented the feature in the clone script written by `_ep_write_gitclone_script` but not in the update script written by `_ep_write_gitupdate_script`. Implement the latter by factoring out a common helper to use in both places. Fixes: #20335 | 10 February 2020, 23:14:42 UTC |
ceb5ee4 | Tim Hutton | 05 February 2020, 18:27:42 UTC | FindOpenMP: Add support for Clang on Windows Fixes: #19404 | 10 February 2020, 22:20:19 UTC |
2dbff62 | Tim Hutton | 07 February 2020, 17:17:01 UTC | FindOpenMP: Save flags/libs in cache entries each time they are detected | 10 February 2020, 22:20:19 UTC |
8752c1b | Brad King | 10 February 2020, 21:16:56 UTC | Merge branch 'backport-3.16-link-line-backtrace' | 10 February 2020, 21:17:03 UTC |
e756328 | Brad King | 10 February 2020, 18:34:33 UTC | Propagate backtraces from LINK_LIBRARIES through to link line items Since commit d4d0dd0f6a (cmLinkLineComputer: Add ComputeLinkLibs overload with backtraces, 2019-09-13, v3.16.0-rc1~87^2~4), backtraces have been collected by `ComputeLinkLibs` by looking back through the link implementation libraries for one matching the text of the link line item. This is slow in projects with long link lines. Instead, teach `cmComputeLinkDepends` and `cmComputeLinkInformation` to carry backtrace information explicitly along with the text of each item. Fixes: #20322 | 10 February 2020, 21:11:38 UTC |
b4d5ea8 | Brad King | 10 February 2020, 16:14:01 UTC | FindMPI: Preserve order of include directories on re-runs of CMake The fix in commit 5861c6d450 (FindMPI: Preserve include order when extracting component directories, 2019-12-19) only works on the first run of CMake in which we find MPI. Extend the fix to save the compiler wrapper's entire include path in our cache without splitting anything out. That way we can preserve the order when CMake re-runs. Fixes: #20338 | 10 February 2020, 16:14:42 UTC |
8261ee3 | Brad King | 10 February 2020, 14:06:33 UTC | FindMPI: Restore re-construction of include directories The fix in commit 5861c6d450 (FindMPI: Preserve include order when extracting component directories, 2019-12-19) only works on the first run of CMake in which we find MPI. It preserves the include directories on the first run but still splits them up and saves the pieces in the cache. On future runs the pieces are not re-assembled, and we do not know the order anyway. Restore the re-assembly step so that at least all the include dirs are available. Leave preservation of the original order to later work. Issue: #20338 | 10 February 2020, 16:10:29 UTC |
35e9fbe | Brad King | 10 February 2020, 15:39:41 UTC | Merge topic 'ninja-multi-depfile' into release-3.17 67102d3252 Ninja Multi-Config: Add support for DEPFILE option in add_custom_command() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4334 | 10 February 2020, 15:39:48 UTC |
5c2a92f | Yauheni Khnykin | 04 February 2020, 19:47:30 UTC | Swift: Exclude SDK include paths Populate `CMAKE_Swift_IMPLICIT_INCLUDE_DIRECTORIES` with the macOS SDK's include directory so that we filter such implicit directories out of Swift targets. Fixes: #19845 | 10 February 2020, 15:32:37 UTC |
3dab468 | Marc Chevrier | 10 February 2020, 10:18:43 UTC | FindPython: reduces consumption of resources Stores more information in the cache to reduce the number of sub-processes required on subsequent find_package calls. Fixes: #20337 | 10 February 2020, 11:41:04 UTC |
67102d3 | Kyle Edwards | 07 February 2020, 19:18:54 UTC | Ninja Multi-Config: Add support for DEPFILE option in add_custom_command() And give other generators a path forward to add support in the future. | 07 February 2020, 19:18:54 UTC |
ad17c37 | Brad King | 07 February 2020, 15:23:35 UTC | Merge topic 'libarchive-win-codepage' into release-3.17 16e31523ba libarchive: Add support for UTF-8 locale on Windows f7c54d2049 libarchive: Fix WideCharToMultiByte output buffer size Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4332 | 07 February 2020, 15:23:44 UTC |
135378f | Brad King | 07 February 2020, 14:26:29 UTC | Merge topic 'ninja-multi-default-config-fix' into release-3.17 1844be451e Ninja Multi-Config: Fix issue with CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4331 | 07 February 2020, 14:26:36 UTC |
92faf1a | Brad King | 07 February 2020, 14:17:18 UTC | Merge topic 'ninja-multi-no-minsizerel' into release-3.17 9e219de4fb Ninja Multi-Config: Don't include MinSizeRel by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4326 | 07 February 2020, 14:17:26 UTC |
6d7d0d2 | Brad King | 07 February 2020, 14:15:38 UTC | Merge topic 'cuda_toolkit_add_cupti' into release-3.17 27b0d908d4 CUDAToolkit: Add support for cupti library c3d7f2e43b CUDAToolkit: Correct location of OpenCL doc link Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4329 | 07 February 2020, 14:15:45 UTC |
16e3152 | Brad King | 06 February 2020, 19:29:25 UTC | libarchive: Add support for UTF-8 locale on Windows Backport libarchive upstream commit `c46e7993` (windows: Support UTF-8 locale, 2018-07-23, v3.4.0~105^2). Fixes: #20320 | 06 February 2020, 20:04:47 UTC |
f7c54d2 | Brad King | 06 February 2020, 19:28:02 UTC | libarchive: Fix WideCharToMultiByte output buffer size Fix `archive_string_append_from_wcs_in_codepage` to account for the already-used portion of the buffer when computing the size of the remaining buffer for ``WideCharToMultiByte` output. | 06 February 2020, 20:04:47 UTC |
1844be4 | Kyle Edwards | 06 February 2020, 18:48:08 UTC | Ninja Multi-Config: Fix issue with CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG Fix an issue where CMAKE_NMC_DEFAULT_BUILD_FILE_CONFIG is specified and CMAKE_NMC_CROSS_CONFIGS is not, which results in a false error with CMAKE_NMC_DEFAULT_CONFIGS. | 06 February 2020, 19:31:13 UTC |
9e219de | Kyle Edwards | 05 February 2020, 18:32:04 UTC | Ninja Multi-Config: Don't include MinSizeRel by default | 06 February 2020, 16:07:38 UTC |
27b0d90 | Robert Maynard | 06 February 2020, 03:24:37 UTC | CUDAToolkit: Add support for cupti library Fixes: #20318 | 06 February 2020, 14:41:24 UTC |