summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests/CommandLineTest: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-34/+34
|
* Tests/CMakeOnly: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-3/+3
|
* UsePkgConfig: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-5/+5
|
* FindwxWindows: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-6/+7
|
* FindQt: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-3/+3
|
* FindFLTK2: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-2/+2
|
* FindFLTK: Replace exec_program() with execute_process()Kyle Edwards2023-07-241-4/+4
|
* Merge topic 'file-REAL_PATH-relative'Brad King2023-07-2417-10/+189
|\ | | | | | | | | | | | | | | 6b5f2dbbfe file(REAL_PATH): resolve symlinks before '..' components Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8605
| * file(REAL_PATH): resolve symlinks before '..' componentsRobert Maynard2023-07-2017-10/+189
| | | | | | | | | | | | | | | | Previously REAL_PATH would collapse paths before resolving any symlinks so if `..` crossed a symlink the output from `REAL_PATH` would be wrong. It looked like REAL_PATH did this by mistake since it was a side-effect of ensuring we had an absolute path before resolving symlinks.
* | Merge branch 'release-3.27'Brad King2023-07-240-0/+0
|\ \
| * \ Merge topic 'dyndep-module-info-objlib-dependency' into release-3.27Brad King2023-07-2411-5/+81
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b665966933 cmComputeLinkInformation: track OBJECT library dependencies a99b87a628 Tests/RunCMake/CXXModules: add a test for issue #25112 2870a67540 Tests/FortranOnly: add a test case for issue #25112 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8645
* | \ \ Merge topic 'dyndep-module-info-objlib-dependency'Brad King2023-07-2411-5/+81
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b665966933 cmComputeLinkInformation: track OBJECT library dependencies a99b87a628 Tests/RunCMake/CXXModules: add a test for issue #25112 2870a67540 Tests/FortranOnly: add a test case for issue #25112 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8645
| * | | cmComputeLinkInformation: track OBJECT library dependenciesBen Boeckel2023-07-223-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit b6a5382217 (Ninja: depend on language module information files directly, 2023-02-10), introduced via !8197, language-specific module information files (`CMakeFiles/<target>.dir/<lang>Modules.json`) files were added as real dependencies to the dyndep collation steps. Previously, the behavior was to inform the collator of all possible targets and search for the files manually ignoring those which did not exist with ordering enforced by depending on the linker output of all dependent targets. This behavior could lead to stale information being used (e.g., if a target stops providing any targets) and also did not reliably build everything needed on rebuilds. Afterwards, the internal computation changed the dependency from all possible targets to an exact set of "these targets might have modules" query, however one that did not include `OBJECT` libraries since do not have `LinkEntry` items internally (their objects are instead treated as source files). As a stopgap measure, track `OBJECT` libraries in a separate list and query them explicitly when gathering targets which may have interesting information. Future work can add `LinkEntry` items to represent these targets once all `LinkEntry` consumers have been audited to make sure they are not surprised by any `OBJECT` library entries. Fixes: #25112
| * | | Tests/RunCMake/CXXModules: add a test for issue #25112Ben Boeckel2023-07-225-0/+39
| | | | | | | | | | | | | | | | | | | | Add a test case for C++ `OBJECT` libraries providing modules to consumers.
| * | | Tests/FortranOnly: add a test case for issue #25112Ben Boeckel2023-07-223-0/+18
| |/ / | | | | | | | | | | | | Add a test case for Fortran `OBJECT` libraries providing modules to consumers.
* | | CMake Nightly Date StampKitware Robot2023-07-241-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-07-231-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-07-221-1/+1
| | |
* | | Merge topic 'cmstrcat-pass'Brad King2023-07-213-108/+117
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | faf36e65b9 cmMakefile: use single characters where possible 4fd80d5419 cmMakefile: use static string views in some locations e41ff26735 cmMakefile: use `cmStrCat` where possible 2a74f641db cmGlobalGenerator: use single chars where possible cfdb5c970c cmGlobalGenerator: use `cmStrCat` where possible 884c477545 cmCoreTryCompile: combine strings where possible b8fd1cc8d9 cmCoreTryCompile: use single characters where possible 0b74471d62 cmCoreTryCompile: use `cmStrCat` where possible Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8640
| * | | cmMakefile: use single characters where possibleBen Boeckel2023-07-191-6/+6
| | | |
| * | | cmMakefile: use static string views in some locationsBen Boeckel2023-07-191-10/+9
| | | |
| * | | cmMakefile: use `cmStrCat` where possibleBen Boeckel2023-07-191-21/+26
| | | |
| * | | cmGlobalGenerator: use single chars where possibleBen Boeckel2023-07-191-1/+1
| | | |
| * | | cmGlobalGenerator: use `cmStrCat` where possibleBen Boeckel2023-07-191-39/+42
| | | |
| * | | cmCoreTryCompile: combine strings where possibleBen Boeckel2023-07-191-11/+14
| | | |
| * | | cmCoreTryCompile: use single characters where possibleBen Boeckel2023-07-191-16/+16
| | | |
| * | | cmCoreTryCompile: use `cmStrCat` where possibleBen Boeckel2023-07-191-15/+14
| | |/ | |/|
* | | Merge topic 'deprecate-install-combined'Brad King2023-07-213-4/+22
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7d3eede923 Help: Document IOS_INSTALL_COMBINED as deprecated Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8641
| * | | Help: Document IOS_INSTALL_COMBINED as deprecatedMárton Marczell2023-07-203-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The approach has not made sense since the introduction of Apple Silicon and macOS arm64. Issue: #24957
* | | | Merge branch 'release-3.27'Brad King2023-07-210-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge topic 'FindOpenSSL-trust-root-dir' into release-3.27Brad King2023-07-211-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 791d4fd350 FindOpenSSL: Prefer OPENSSL_ROOT_DIR only if non-empty Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8643
* | \ \ \ Merge topic 'FindOpenSSL-trust-root-dir'Brad King2023-07-211-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 791d4fd350 FindOpenSSL: Prefer OPENSSL_ROOT_DIR only if non-empty Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8643
| * | | | FindOpenSSL: Prefer OPENSSL_ROOT_DIR only if non-emptyBrad King2023-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 5cc8a69867 (FindOpenSSL: Trust the user's OPENSSL_ROOT_DIR, 2023-05-17, v3.27.0-rc1~71^2) we use `OPENSSL_ROOT_DIR` whenever it is defined, even if it is an empty string. This breaks a pattern in existing projects that define an empty `OPENSSL_ROOT_DIR` cache entry so that `cmake-gui` users can fill it in. Use the value only if non-empty. Issue: #18352
* | | | | Merge branch 'release-3.27'Brad King2023-07-210-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.26' into release-3.27Brad King2023-07-210-0/+0
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.26'Brad King2023-07-210-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'FindCUDAToolkit-libnvrtc-builtins' into release-3.26Brad King2023-07-201-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !8642
* | \ \ \ \ \ Merge branch 'release-3.27'Brad King2023-07-210-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'FindCUDAToolkit-libnvrtc-builtins' into release-3.27Brad King2023-07-211-1/+1
| |\ \ \ \ \ \ | | | |/ / / / | | |/| / / / | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | c2601d01d1 FindCUDAToolkit: Fix nvrtc_builtins library name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8642
* | | | | | Merge topic 'FindCUDAToolkit-libnvrtc-builtins'Brad King2023-07-211-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2601d01d1 FindCUDAToolkit: Fix nvrtc_builtins library name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8642
| * | | | | FindCUDAToolkit: Fix nvrtc_builtins library nameTomoharu Kitawaki2023-07-201-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lib is named `libnvrtc-builtins.so`, not `libnvrtc_builtins.so`. Update the change from commit 2a94c762ed (FindCUDAToolkit: Add support for CUDA::nvrtc_static, 2023-01-20, v3.26.0-rc1~55^2). Apply a fix similar to commit 9688a8ebc2 (FindCUDAToolkit: Fix `nvrtc_builtins_static` library name, 2023-02-03, v3.26.0-rc2~15^2).
* | | | | CMake Nightly Date StampKitware Robot2023-07-211-1/+1
| | | | |
* | | | | Merge topic 'command-job-server-aware'Brad King2023-07-2019-1/+378
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95941fd990 add_custom_{target,command}: Add argument JOB_SERVER_AWARE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8547
| * | | | add_custom_{target,command}: Add argument JOB_SERVER_AWAREChris Mahoney2023-07-1919-1/+378
| | | | | | | | | | | | | | | | | | | | Issue: #16273
* | | | | CMake Nightly Date StampKitware Robot2023-07-201-1/+1
| | | | |
* | | | | Merge branch 'release-3.27'Brad King2023-07-190-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'release-3.26' into release-3.27Brad King2023-07-191-2/+2
| |\ \ \ \ | | | |/ / | | |/| |
* | | | | Merge branch 'release-3.26'Brad King2023-07-191-2/+2
|\ \ \ \ \ | | |/ / / | |/| | / | |_|_|/ |/| | |
| * | | CMake 3.26.5v3.26.5Brad King2023-07-192-3/+3
| | | |
* | | | Merge topic 'imported-implib-only'Brad King2023-07-1916-22/+124
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7351d590ee cmTarget: Add a way to represent imported shared library stubs 83574a4772 GeneratorExpression: Expand testing of imported location resolution b75ff51947 Testing: Map RelWithDebInfo config in GeneratorExpression test Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8582