summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Genex-LINK_GROUP: Add possibility to group libraries at link stepMarc Chevrier2022-02-289-180/+718
| | | | Fixes: #23121
* cmComputeDepends::LinkEntry: introduce enum to specify item typeMarc Chevrier2022-02-253-12/+22
|
* CMake Nightly Date StampKitware Robot2022-02-251-1/+1
|
* Merge topic 'cpack-zstd-parallel'Brad King2022-02-241-25/+34
|\ | | | | | | | | | | | | | | | | 525faec4e9 CPack: Add parallel zstd compression 215c4efd3e cmArchiveWrite: Factor out thread count selection 29f63129be CPack: Format CPACK_THREADS compression methods as a definition list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7003
| * CPack: Add parallel zstd compressionRussell Greene2022-02-231-0/+9
| |
| * cmArchiveWrite: Factor out thread count selectionRussell Greene2022-02-231-25/+25
| | | | | | | | Prepare to use it for more than one compression method.
* | Merge topic 'zero_check_proj'Brad King2022-02-244-34/+241
|\ \ | | | | | | | | | | | | | | | | | | a334f1b906 VS: Write ZERO_CHECK.proj for VS19 and above Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7010
| * | VS: Write ZERO_CHECK.proj for VS19 and aboveSumit Bhardwaj2022-02-214-34/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | For VS 19 and above, switch the format of project file to `VsProjectType::proj` for ZERO_CHECK target. The `ZERO_CHECK.proj` consists of primitive MSBuild commands only and has no dependency on any other targets or props files. This proj file is written as a `ProjectReference` for other targets, but is not written to the sln file.
* | | CMake Nightly Date StampKitware Robot2022-02-241-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-02-231-1/+1
| | |
* | | Merge topic 'ghs_build_event_bugfix'Brad King2022-02-222-28/+52
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6acf06a2cd GHS: fix build event script error on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7002
| * | | GHS: fix build event script error on LinuxFred Baksik2022-02-172-28/+52
| | | | | | | | | | | | | | | | | | | | | | | | On Linux run build events scripts as "/bin/sh script.sh". Prefer using _WIN32 over variable for host platform decisions. -- This is consistant with other parts of CMake.
* | | | Merge topic 'update-kwsys'Brad King2022-02-222-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f634e77b2e Merge branch 'upstream-KWSys' into update-kwsys 8d9ced350d KWSys 2022-02-18 (599dc923) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7004
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2022-02-182-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2022-02-18 (599dc923)
* | | | Merge topic 'cuda-archs'Brad King2022-02-221-5/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f75299b803 CUDA: Restore support for non-"all" CUDA_ARCHITECTURES with nvcc 11.5+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7007
| * | | | CUDA: Restore support for non-"all" CUDA_ARCHITECTURES with nvcc 11.5+Brad King2022-02-181-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 8f64df0a7c (CUDA: Generic all and all-major support, 2021-12-19, v3.23.0-rc1~23^2), setting `CUDA_ARCHITECTURES` to a value other than `all` or `all-major` is ignored with NVCC 11.5+. Fix the logic to return early only when actually using an "all" value. Fixes: #23243
| * | | | Merge topic 'correct_multiple_source_warnings' into release-3.23Brad King2022-02-182-5/+59
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7083b19498 cmake: When given multiple source paths use last instead of first Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7001
* | | | | | CMake Nightly Date StampKitware Robot2022-02-221-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2022-02-211-1/+1
| |_|_|_|/ |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2022-02-201-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2022-02-191-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'revert-vs-zero_check-proj'Brad King2022-02-184-230/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4313c5acbc VS: Revert "Write ZERO_CHECK.proj for VS19 and above" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6999
| * | | | VS: Revert "Write ZERO_CHECK.proj for VS19 and above"Brad King2022-02-174-230/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 925da7d428 (VS: Write ZERO_CHECK.proj for VS19 and above, 2021-12-24). Although its commit message was mistakenly not updated, it implemented the change for VS 2017 and below too. Since it was merged, I've discovered several subtle failures in nightly testing with VS 2017. Revert the change pending further investigation.
* | | | | Merge topic 'typos'Brad King2022-02-181-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf204f209e ccmake: Fix typo in curses form comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6996
| * | | | | ccmake: Fix typo in curses form commentDimitris Apostolou2022-02-171-1/+1
| | | | | |
* | | | | | Merge topic 'correct_multiple_source_warnings'Brad King2022-02-182-5/+59
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7083b19498 cmake: When given multiple source paths use last instead of first Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7001
| * | | | | cmake: When given multiple source paths use last instead of firstRobert Maynard2022-02-172-5/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When given two source paths via `-S` or just directory paths prefer the last one. When the paths are mixed always prefer the last `-S` entry. Fixes: #23238
* | | | | | Merge topic 'file-set-no-exist'Brad King2022-02-181-21/+22
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 058b8a0bfb install(): Properly ignore FILE_SETs that don't exist Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7000
| * | | | | install(): Properly ignore FILE_SETs that don't existKyle Edwards2022-02-171-21/+22
| |/ / / / | | | | | | | | | | | | | | | Fixes: #22960
| * | | | Merge topic 'cmake-empty-cmd-line-arg' into release-3.23Brad King2022-02-171-2/+22
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f73457ca2e cmake: Ignore any empty "" command line arguments 67f97f5478 Tests: Add RunCMake helper to run cmake with raw execute_process args Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6980
| * \ \ \ \ Merge topic 'tll-genex-concat' into release-3.23Brad King2022-02-161-102/+138
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1e812ad4f target_link_libraries: Improve tolerance of unquoted generator expressions 5571a31648 target_link_libraries: Handle keyword arguments in dedicated code path 42590df9f9 target_link_libraries: Remove likely-broken ancient compatibility check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6989
* | | | | | | CMake Nightly Date StampKitware Robot2022-02-181-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Merge topic 'LINK_LIBRARY-updates'Brad King2022-02-172-8/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 397ee55cd6 genex-LINK_LIBRARY: rename configuration variables Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6994
| * | | | | | genex-LINK_LIBRARY: rename configuration variablesMarc Chevrier2022-02-162-8/+9
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | To be more consistent between genex and variables as well as the forecomming LINK_GROUP genex, rename variable *_LINK_USING_<FEATURE>* in *_LINK_LIBRARY_USING_<FEATURE>*
* | | | | | Merge topic 'cmake-empty-cmd-line-arg'Brad King2022-02-171-2/+22
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | / | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | f73457ca2e cmake: Ignore any empty "" command line arguments 67f97f5478 Tests: Add RunCMake helper to run cmake with raw execute_process args Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6980
| * | | | cmake: Ignore any empty "" command line argumentsRobert Maynard2022-02-161-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't treat empty quote arguments("") as the current working directory but instead ignore them. Fixes #23217
* | | | | CMake Nightly Date StampKitware Robot2022-02-171-1/+1
| |/ / / |/| | |
* | | | Merge topic 'tll-genex-concat'Brad King2022-02-161-102/+138
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1e812ad4f target_link_libraries: Improve tolerance of unquoted generator expressions 5571a31648 target_link_libraries: Handle keyword arguments in dedicated code path 42590df9f9 target_link_libraries: Remove likely-broken ancient compatibility check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6989
| * | | target_link_libraries: Improve tolerance of unquoted generator expressionsBrad King2022-02-151-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to commit 1d709ea2f5 (cmGeneratorTarget: Propagate backtraces from INTERFACE_LINK_LIBRARIES, 2021-12-15, v3.23.0-rc1~228^2), the value of `INTERFACE_LINK_LIBRARIES` was a single string. If an unquoted generator expression passed to `target_link_libraries` contained `;` and became multiple arguments, they would all accumulate as a single `;`-separated list in the value of `INTERFACE_LINK_LIBRARIES`. Since that commit, each argument to `target_link_libraries` is placed in `INTERFACE_LINK_LIBRARIES` as a separate entry, as has long been the case for `LINK_LIBRARIES`. That behavior change broke projects that were accidentally relying on accumulation in `INTERFACE_LINK_LIBRARIES` to produce complete generator expressions containing `;`. Teach `target_link_libraries` to accumulate consecutive non-keyword arguments into a single entry before placing them in `LINK_LIBRARIES` or `INTERFACE_LINK_LIBRARIES`. For example, treat `a b c` as if they were written as `"a;b;c"`. This restores the previously accidental support for unquoted generator expressions in `INTERFACE_LINK_LIBRARIES`, and also enables it for `LINK_LIBRARIES`. For now, do not drop the `target_link_libraries` documentation that recommends quoting generator expressions. Quoting is still important to populate `LINK_LIBRARIES` in CMake 3.22 and below, and is also good practice to keep generator expressions whole. Fixes: #23203
| * | | target_link_libraries: Handle keyword arguments in dedicated code pathBrad King2022-02-151-83/+100
| | | |
| * | | target_link_libraries: Remove likely-broken ancient compatibility checkBrad King2022-02-151-18/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit daa6d2bc04 (ENH: updated handling of debug and optimized target link libraries, 2006-11-29, v2.6.0~2471) the ancient `<lib>_LINK_TYPE` compatibility lookup was done using the name of the dependent target for which `target_link_libraries` is called, rather than the name of the library dependency being considered. This code probably does nothing. Remove it.
* | | | Merge topic 'vs-package-restore-docs'Brad King2022-02-164-12/+13
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | d92469e572 Help: Clarify how package resolve mode is intended to be used f320a31087 cmake --build: prioritize --resolve-package-references over preset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6984
| * | | cmake --build: prioritize --resolve-package-references over presetCarsten Rudolph2022-02-154-12/+13
| |/ / | | | | | | | | | Fixes: #23224
* | | Merge topic 'file-download-range'Brad King2022-02-161-0/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 231872ddb0 file(DOWNLOAD): Add options to download a range Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6986
| * | | file(DOWNLOAD): Add options to download a rangem.klimenko2022-02-151-0/+31
| | | |
* | | | Merge topic 'LINK_LIBRARY-framework'Brad King2022-02-166-85/+164
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a2cfa2da4f GenEx/LINK_LIBRARY: Add features for framework support on Apple 40178f3c90 cmGlobalGenerator: Add helper to split framework path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6967
| * | | | GenEx/LINK_LIBRARY: Add features for framework support on AppleMarc Chevrier2022-02-155-46/+112
| | | | |
| * | | | cmGlobalGenerator: Add helper to split framework pathMarc Chevrier2022-02-136-45/+58
| | | | | | | | | | | | | | | | | | | | | | | | | cmComputeLinkInformation and cmGlobalXCodeGenerator now rely on this method to handle framework paths.
* | | | | CMake Nightly Date StampKitware Robot2022-02-161-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2022-02-151-1/+1
| | | |