summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'backport-ci-fedora-39' into ci-fedora-39Brad King2023-11-174-4/+4
|\
| * codespell: Fix typosBrad King2023-11-174-4/+4
| |
* | CMakePackageConfigHelpers: Add generate_apple_platform_selection_file()Kyle Edwards2023-11-156-0/+39
| | | | | | | | Issue: #25262
* | install(EXPORT): Add ability to point to .xcframework fileKyle Edwards2023-11-1515-0/+164
| | | | | | | | Issue: #25262
* | Merge topic 'export-find_dependency-calls'Brad King2023-11-1427-0/+331
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ad8fc5a63 FetchContent: Set CMAKE_EXPORT_FIND_PACKAGE_NAME c6e6861e63 install(EXPORT): Export find_dependency() calls 2837f592ab cmExportFileGenerator: Add function to set required CMake version e62a3b8625 Help/export: Add signature directives Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8957
| * | FetchContent: Set CMAKE_EXPORT_FIND_PACKAGE_NAMEKyle Edwards2023-11-136-0/+110
| | |
| * | install(EXPORT): Export find_dependency() callsKyle Edwards2023-11-1321-0/+221
| | | | | | | | | | | | | | | | | | Issue: #20511 Co-Authored-by: Brad King <brad.king@kitware.com> Co-Authored-by: Robert Maynard <rmaynard@nvidia.com>
* | | Merge topic 'genex-fix-short-circuit'Brad King2023-11-142-0/+5
|\ \ \ | |/ / |/| / | |/ | | | | | | | | 27244a8f73 cmGeneratorExpressionNode: Fix short-circuit logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8966
| * cmGeneratorExpressionNode: Fix short-circuit logicMartin Duffy2023-11-132-0/+5
| | | | | | | | | | | | | | | | Fix logic added by commit 634079b86d (cmGeneratorExpressionEvaluator: Short-circuit boolean operators, 2023-09-11, v3.28.0-rc1~47^2) and add missing test cases. Fixes: #25412
* | Merge topic 'make-test-depend-on-all'Brad King2023-11-1310-0/+38
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-104-0/+9
| | | | | | | | | | | | Fixes: #8774
| * | Tests: Add case to verify that 'make test' does not 'make all'Brad King2023-11-107-0/+29
| | | | | | | | | | | | | | | Place it in a new `RunCMake.BuiltinTargets` umbrella test meant to cover behavior of targets builtin to CMake.
* | | Merge topic 'link-deduplicate-libs'Brad King2023-11-13115-24/+480
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-09115-24/+480
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | ctest_empty_binary_directory: Report more detail in failure messageBrad King2023-11-096-0/+24
|/ /
* | Merge topic 'static-library-link-xcframework'Brad King2023-11-073-0/+12
|\ \ | |/ | | | | | | | | | | 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-063-0/+12
| | | | | | | | Issue: #21752
* | Merge topic 'vs-CharacterSet'Brad King2023-11-073-0/+69
|\ \ | | | | | | | | | | | | | | | | | | 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-063-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0714-1/+359
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+4
| | |
| * | Tests/Ninja*/CustomCommandDepfile: check that deps are in the databaseBen Boeckel2023-11-0112-0/+354
| | |
| * | Tests/RunCMake/Ninja: fix subdir prefix checkBen Boeckel2023-10-231-1/+1
| | | | | | | | | | | | If the output path prefix is empty, the directory is going to exist.
* | | Merge topic 'cmake-E-cat-stdin'Brad King2023-11-063-0/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-033-0/+13
| | | |
* | | | Merge topic 'cmsystemtools-runsinglecommand-stdin'Kyle Edwards2023-11-034-1/+8
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | 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-024-1/+8
| | | | | | | | | | | | Fixes: #25383
| * | Merge topic 'cxxmodules-cmp0155-graceful-fallback-without-scanner' into ↵Brad King2023-11-015-13/+14
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * \ \ Merge topic 'cxxmodules-ninja-forced-rsp-files' into release-3.28Brad King2023-10-303-0/+51
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | \ \ \ Merge topic 'if-check-file-permissions'Brad King2023-11-023-1/+171
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-013-1/+171
| | | | | | | | | | | | | | | | | | | | | | | | Offers possibility to check for file or directory permissions.
* | | | | | Merge topic 'cxxmodules-cmp0155-graceful-fallback-without-scanner'Brad King2023-11-015-13/+14
|\ \ \ \ \ \ | |/ / / / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | CMP0155: ignore scanning for sources if no scanner is availableBen Boeckel2023-11-015-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'cxxmodules-ninja-forced-rsp-files'Brad King2023-10-303-0/+51
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Tests/CXXModules: test forced rsp files with ninjaBen Boeckel2023-10-283-0/+51
| |/ / / | | | | | | | | | | | | Fixes: #25367
* | | | Merge topic 'cmp0153-suggestion'Brad King2023-10-302-1/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3cc815c98 CMP0153: Add suggestion to use execute_process() 8313d26198 cmState::AddDisallowedCommand(): Allow additional warning info Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !8921
| * | | CMP0153: Add suggestion to use execute_process()Kyle Edwards2023-10-272-1/+4
| |/ /
* | | Merge topic 'cpack-archive-dedup'Brad King2023-10-275-0/+93
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 770efceccb CPack: Avoid adding duplicate files to archive when combining components Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8839
| * | | CPack: Avoid adding duplicate files to archive when combining componentsAtılhan Emre Dursunoğlu2023-10-265-0/+93
| | | | | | | | | | | | | | | | Fixes: #25280
* | | | Merge topic 'unity-build-objc'Brad King2023-10-277-1/+111
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e218db1a90 Unity: Enable UNITY_BUILD for OBJC and OBJCXX files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8906
| * | | | Unity: Enable UNITY_BUILD for OBJC and OBJCXX filesRob Raguet-Schofield2023-10-267-1/+111
| | | | |
* | | | | Merge topic 'fix-Wstrict-prototypes'Brad King2023-10-2762-77/+77
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81022213f6 Modules: Fix clang -Wstrict-prototypes warnings 47c3334203 Source: Fix clang -Wstrict-prototypes warnings 264dcae5e4 Tests: Fix clang -Wstrict-prototypes warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8916
| * | | | | Tests: Fix clang -Wstrict-prototypes warningsBrad King2023-10-2662-77/+77
| | |/ / / | |/| | |
* | | | | Merge topic 'hint-about-missing-extension-on-windows'Brad King2023-10-269-12/+24
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 186673ba0b cmGlobalGenerator: hint about missing extensions on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8914
| * | | | | cmGlobalGenerator: hint about missing extensions on WindowsBen Boeckel2023-10-249-12/+24
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | Discussed on Discourse: https://discourse.cmake.org/t/cross-compiling-from-a-windows-host-targeting-raspbian-32-bits-arm/9250
* | | | | Merge topic 'iar-nightly'Brad King2023-10-2612-0/+177
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 37e44707bc IAR: Add tests covering IAR toolchains Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8909
| * | | | IAR: Add tests covering IAR toolchainsFelipe Torrezan2023-10-2312-0/+177
| | |/ / | |/| | | | | | | | | | | | | | Run the tests only if enabled explicitly by an undocumented cache entry. We will enable it on hosts known to have the toolchains.
* | | | Merge topic 'misc-warnings'Brad King2023-10-241-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ed999674c Fix clang -Wdeprecated-pragma warnings by removing deprecated ATOMIC_VAR_INIT 162e017b2d Fix clang -Wstrict-prototypes by making main take void instead of nothing b373a22991 Fix clang -Wreserved-identifier by renaming an enum Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8905
| * | | Fix clang -Wstrict-prototypes by making main take void instead of nothingSean McBride2023-10-201-1/+1
| | | |
* | | | Merge topic 'ninja-better-order-depends'Brad King2023-10-236-1/+72
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | | | | | | | | | | ed45432571 cmNinjaTargetGenerator: do not order-depend on C++ module sources 0973cd6702 cmNinjaTargetGenerator: use the file set visibility API 4625170925 cmFileSet: add a query for includeable file set types 51f9d9f0a2 cmNinjaTargetGenerator: avoid traversing old outputs repeatedly Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8902