summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* install(EXPORT): Export find_dependency() callsKyle Edwards2023-11-1320-7/+351
| | | | | | Issue: #20511 Co-Authored-by: Brad King <brad.king@kitware.com> Co-Authored-by: Robert Maynard <rmaynard@nvidia.com>
* cmExportFileGenerator: Add function to set required CMake versionKyle Edwards2023-11-136-44/+48
|
* Merge topic 'make-test-depend-on-all'Brad King2023-11-131-0/+8
|\ | | | | | | | | | | | | | | | | | | 5e0c1777a3 Optionally make `test` target depend on `all` eaa00d4dfa Tests: Add case to verify that 'make test' does not 'make all' Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8956
| * Optionally make `test` target depend on `all`William Sciaroni2023-11-101-0/+8
| | | | | | | | Fixes: #8774
* | Merge topic 'link-deduplicate-libs'Brad King2023-11-132-45/+216
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b99c42e57 Link step: Enable to configure deduplication of libraries 07501c1678 Link Step: Introduce EntriesProcessing class Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8946
| * | Link step: Enable to configure deduplication of librariesMarc Chevrier2023-11-092-4/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some platforms, Apple or Windows for instance, do not require to duplicate static libraries to resolve mutual dependencies. Moreover, Xcode version 15 emits a warning if a library is duplicated. On Windows, enable a better control of libraries order. Fixes: #20722, #25297
| * | Link Step: Introduce EntriesProcessing classMarc Chevrier2023-11-081-43/+136
| |/ | | | | | | | | This refactoring is done in preparation of the possibility to configure the deduplication of the libraries as well as the order on the link command.
* | CMake Nightly Date StampKitware Robot2023-11-131-1/+1
| |
* | CMake Nightly Date StampKitware Robot2023-11-121-1/+1
| |
* | CMake Nightly Date StampKitware Robot2023-11-111-1/+1
| |
* | Merge topic 'ctest-remove-binary-dir-error'Brad King2023-11-103-24/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | 07edab8ef2 ctest_empty_binary_directory: Report more detail in failure message Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8959
| * | ctest_empty_binary_directory: Report more detail in failure messageBrad King2023-11-093-24/+37
| |/
* | Merge topic 'cmtargetexport-iwyu'Brad King2023-11-102-2/+3
|\ \ | | | | | | | | | | | | | | | | | | c2974463d7 cmTargetExport: Analyze with IWYU Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8961
| * | cmTargetExport: Analyze with IWYUKyle Edwards2023-11-092-2/+3
| | | | | | | | | | | | | | | | | | Since there is no cmTargetExport.cxx, cmTargetExport.h was not being analyzed by IWYU. Associate cmTargetExport.h with cmExportSet.cxx.
* | | CMake Nightly Date StampKitware Robot2023-11-101-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2023-11-091-1/+1
|/
* Merge topic 'cxx23'Brad King2023-11-084-11/+14
|\ | | | | | | | | | | | | | | | | | | | | | | a0fabc4769 cmGlobalGeneratorFactory: Provide complete cmGlobalGenerator to deleter 85627a93c9 cmCTestBuildCommand: Avoid requiring complete cmGlobalGenerator type publicly 641c02a3ce cmList: Avoid using operator-> on input iterator e4483b8871 Tests: Avoid compiling call to dap::optional<dap::string>(nullptr) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8950
| * cmGlobalGeneratorFactory: Provide complete cmGlobalGenerator to deleterBrad King2023-11-071-1/+1
| | | | | | | | | | | | The libc++ `unique_ptr` implementation requires this since C++23. Fixes: #25388
| * cmCTestBuildCommand: Avoid requiring complete cmGlobalGenerator type publiclyBrad King2023-11-072-9/+12
| |
| * cmList: Avoid using operator-> on input iteratorBrad King2023-11-071-1/+1
| | | | | | | | As of C++23, some standard library iterator types deprecate it.
| * CMake 3.28.0-rc4v3.28.0-rc4Brad King2023-11-061-1/+1
| |
* | CMake Nightly Date StampKitware Robot2023-11-081-1/+1
| |
* | Merge topic 'static-library-link-xcframework'Brad King2023-11-071-21/+72
|\ \ | | | | | | | | | | | | | | | | | | 7d19246138 Xcode: Fix linking against .xcframework from static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8949
| * | Xcode: Fix linking against .xcframework from static librariesKyle Edwards2023-11-061-21/+72
| |/ | | | | | | Issue: #21752
* | Merge topic 'vs-CharacterSet'Brad King2023-11-071-4/+8
|\ \ | | | | | | | | | | | | | | | | | | cbddc66277 VS: Consider macros with values when determining CharacterSet Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8940
| * | VS: Consider macros with values when determining CharacterSetDeniz Bahadir2023-11-061-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to determine what character-set (Unicode, Multi-Byte, none) shall be set in the generated `*.vcxproj` files, CMake checks if one of the macros `_UNICODE` or `_SBCS` are defined. However, as these macros can be defined with or without a value, the check should always recognize these macros whether they are defined with a value or without. That is now assured by this commit. Fixes: #25379
* | | Merge topic 'Ninja-use-depslog'Brad King2023-11-073-3/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb7a0497ef cmTransformDepfile: warn when a depfile is not written to c22c473bde Tests/Ninja*/CustomCommandDepfile: check that deps are in the database b0177003e1 cmGlobalNinjaGenerator: tell `ninja` to actually read the depfile 45eff9145e cmAddCustomCommandCommand: use `cmStrCat` c6445c615b Tests/RunCMake/Ninja: fix subdir prefix check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8911
| * | | cmTransformDepfile: warn when a depfile is not written toBen Boeckel2023-11-011-0/+7
| | | |
| * | | cmGlobalNinjaGenerator: tell `ninja` to actually read the depfileBen Boeckel2023-11-011-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | But only do so if the depfile is not specified as an output of the command. Otherwise the command will out-of-date itself as `ninja` deletes depfiles that it incorporates into the database and a missing output will cause the command to run again.
| * | | cmAddCustomCommandCommand: use `cmStrCat`Ben Boeckel2023-11-011-2/+2
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-11-071-1/+1
| |/ / |/| |
* | | Merge topic 'cmake-E-cat-stdin'Brad King2023-11-061-4/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab72846794 cmake -E cat: Add ability to print standard input Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8942
| * | | cmake -E cat: Add ability to print standard inputKyle Edwards2023-11-031-4/+14
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-11-061-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-11-051-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-11-041-1/+1
| | | |
* | | | Merge topic 'cmsystemtools-runsinglecommand-stdin'Kyle Edwards2023-11-031-1/+3
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | c4be9c914b cmSystemTools::RunSingleCommand(): Pass stdin to child process Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8941
| * | | cmSystemTools::RunSingleCommand(): Pass stdin to child processKyle Edwards2023-11-021-1/+3
| | | | | | | | | | | | | | | | Fixes: #25383
| * | | Merge topic 'cxxmodules-cmp0155-graceful-fallback-without-scanner' into ↵Brad King2023-11-016-13/+33
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.28 1f507580a1 cmGlobalGenerator: give context about module queries 889aa0354a CMP0155: ignore scanning for sources if no scanner is available Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8925
* | | | | CMake Nightly Date StampKitware Robot2023-11-031-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'if-check-file-permissions'Brad King2023-11-021-0/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 337bc5662c if(): add operators IS_READABLE, IS_WRITABLE and IS_EXECUTABLE. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8908
| * | | | if(): add operators IS_READABLE, IS_WRITABLE and IS_EXECUTABLE.Marc Chevrier2023-11-011-0/+21
| | | | | | | | | | | | | | | | | | | | Offers possibility to check for file or directory permissions.
* | | | | CMake Nightly Date StampKitware Robot2023-11-021-1/+1
| | | | |
* | | | | Merge topic 'cxxmodules-cmp0155-graceful-fallback-without-scanner'Brad King2023-11-016-13/+33
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1f507580a1 cmGlobalGenerator: give context about module queries 889aa0354a CMP0155: ignore scanning for sources if no scanner is available Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8925
| * | | | cmGlobalGenerator: give context about module queriesBen Boeckel2023-11-015-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some queries are merely investigating support in order to change behavior. Let the method know so that any internal errors can be skipped over.
| * | | | CMP0155: ignore scanning for sources if no scanner is availableBen Boeckel2023-11-012-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for a more graceful transition for projects using C++20 without scanner support (e.g., Clang 15 or GCC 13). While newer compilers will (needlessly) scan, it allows C++20-using projects to use older compilers without having to set `CMAKE_CXX_SCAN_FOR_MODULES` to support newer CMake minimum versions. Fixes: #25357
* | | | | Merge topic 'ctest-windows-color'Brad King2023-11-011-10/+5
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | 2553a78aa7 ctest: Allow colored output on Windows if CLICOLOR_FORCE is set to 1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8932
| * | | ctest: Allow colored output on Windows if CLICOLOR_FORCE is set to 1Cristian Adam2023-11-011-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows 10 supports ANSI colors since v1511. For earlier versions of Windows installing ANSICON will enable ANSI colors in cmd.exe. For those setups where the environment is set up with CLICOLOR_FORCE set to 1 ctest should honor the setting and emit colored ANSI output.
| * | | Merge topic 'modules-depends-via-target-objects' into release-3.28Brad King2023-10-313-1/+22
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22da18b995 Fortran: Restore support for TARGET_OBJECTS providing modules 64d9240564 cmComputeLinkInformation: skip over linking to items for object purposes 035302b7e3 cmComputeLinkDepends: also copy the target from object link items 861876b936 Tests/ObjectLibrary: fix comment Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8923
| * \ \ \ Merge topic 'cxxmodules-ninja-forced-rsp-files' into release-3.28Brad King2023-10-301-2/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09c962a6a4 Tests/CXXModules: test forced rsp files with ninja Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8926