summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | Tests/CXXModules: test `cxx_std_20` coming from a dependencyBen Boeckel2024-02-202-2/+2
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes: #25569
* | | | | | | | | | | | Merge topic 'cxxmodules-transitive-modules-usage'Brad King2024-02-2118-4/+298
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | / / / / / / / / | |_|_|/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec348ee4b9 cmGeneratorTarget: discover synthetic targets recursively 67466ddf65 cmExportFileGenerator: export link libraries as-is a2e3e61a31 Tests/CXXModules: test transitive modules usage Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9273
| * | | | | | | | | | cmExportFileGenerator: export link libraries as-isBen Boeckel2024-02-204-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for transitive modules to work because `$<COMPILE_ONLY>`-wrapped dependencies do not end up in the `linked-target-dirs` collator property. Test suite exported property tests updated to account for the change.
| * | | | | | | | | | Tests/CXXModules: test transitive modules usageBen Boeckel2024-02-2014-0/+294
| |/ / / / / / / / /
* | | | | | | | | | Merge topic 'vs-UseDebugLibraries'Brad King2024-02-2011-2/+101
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b814641444 VS: Add [CMAKE_]VS_USE_DEBUG_LIBRARIES options to control UseDebugLibraries 67de5b7b82 VS: Suppress MSBuild default settings affected by UseDebugLibraries 0ae372daee VS: Factor out common MS tool configuration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9270
| * | | | | | | | | | VS: Add [CMAKE_]VS_USE_DEBUG_LIBRARIES options to control UseDebugLibrariesBrad King2024-02-199-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This indicates to MSBuild which configurations are considered debug configurations. This is useful for reference both by humans and tools. Issue: #25327
| * | | | | | | | | | VS: Suppress MSBuild default settings affected by UseDebugLibrariesBrad King2024-02-192-2/+2
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Microsoft.Cl.Common.props` changes some default settings based on `UseDebugLibraries`. CMake models its own controls for these settings, so if the project does not set them, explicitly suppress them to avoid letting `UseDebugLibraries` affect them.
* | | | | | | | | | Merge topic 'cxxmodules-transitive-target-usage'Brad King2024-02-2021-0/+307
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| / / / / / / / / | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b6fc81fc3 cmTarget: copy link libraries from the right properties d4a517f82a Tests/CXXModules: add a test with transitive targets Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9265
| * | | | | | | | Tests/CXXModules: add a test with transitive targetsBen Boeckel2024-02-1921-0/+307
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge topic 'cxxmodules-nmc-duplicate-synthetic-targets'Brad King2024-02-198-0/+119
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5261af9424 cmGeneratorTarget: store synthetic targets in its cache e0633a9517 Tests/CXXModules: add a test importing from a `Ninja` install 150d7dbd68 Tests/CXXModules: support building a project with `Ninja` e48e5e5506 Tests/CXXModules: document `CMake_TEST_MODULE_COMPILATION` items Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9263
| * | | | | | | Tests/CXXModules: add a test importing from a `Ninja` installBen Boeckel2024-02-168-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that consuming from a single configuration generator works in all generators. See: #25568
| * | | | | | | Tests/CXXModules: support building a project with `Ninja`Ben Boeckel2024-02-161-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows testing mixed generator setups.
| * | | | | | | Tests/CXXModules: document `CMake_TEST_MODULE_COMPILATION` itemsBen Boeckel2024-02-161-0/+12
| | | | | | | |
| * | | | | | | Merge topic 'cxxmodules-collation-restat' into release-3.28Brad King2024-02-167-2/+59
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7424b636b Ninja: make the collator rule use `restat = 1` e24eecfc33 Tests/CXXModules: add a test to ensure that `restat` works for collation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9259
| * | | | | | | Merge topic 'cxxmodules-visibility-change-rebuild' into release-3.28Brad King2024-02-166-0/+55
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60a8736378 cmNinjaTargetGenerator: scanning depends on the module metadata 52036ce090 Tests/CXXModules: test that objects depend on dependent modules json files 9a45c9fbd5 cmNinjaTargetGenerator: use `emplace_back` for scanning deps Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9247
| * | | | | | | Merge topic 'cxxmodules-depend-on-modmap-file' into release-3.28Brad King2024-02-166-0/+62
| |\ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 363300ace5 cxxmodules: depend on the modmap contents 940628d48d Tests/CXXModules: test that objects depend on their modmap files 681ee92030 Tests/CXXModules: support testing rebuild conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9248
| * | | | | | | Merge topic 'cxxmodules-collapse-source-paths' into release-3.28Brad King2024-02-154-0/+31
| |\ \ \ \ \ \ \ | | | |_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f0d853de7 cmDyndepCollation: collapse full path before looking up Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9249
* | | | | | | | Merge topic 'generate-buildable-product-runnable-for-profile-action'Brad King2024-02-161-0/+19
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 021492038e Xcode: Generate BuildableProductRunnable for ProfileAction Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9155
| * | | | | | | | Xcode: Generate BuildableProductRunnable for ProfileActionTor Arne Vestbø2024-02-151-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similarly to the LaunchAction we need to associate a runnable executable with the launch action.
* | | | | | | | | Merge topic 'cxxmodules-collation-restat'Brad King2024-02-167-2/+59
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7424b636b Ninja: make the collator rule use `restat = 1` e24eecfc33 Tests/CXXModules: add a test to ensure that `restat` works for collation Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9259
| * | | | | | | | Tests/CXXModules: add a test to ensure that `restat` works for collationBen Boeckel2024-02-157-2/+59
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also update the `modules-json-file` test to account for the fact that `CXXModules.json` is not updated for timestamp-only rebuild triggers. See: #25511
* | | | | | | | Merge topic 'cxxmodules-visibility-change-rebuild'Brad King2024-02-166-0/+55
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60a8736378 cmNinjaTargetGenerator: scanning depends on the module metadata 52036ce090 Tests/CXXModules: test that objects depend on dependent modules json files 9a45c9fbd5 cmNinjaTargetGenerator: use `emplace_back` for scanning deps Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9247
| * | | | | | | Tests/CXXModules: test that objects depend on dependent modules json filesBen Boeckel2024-02-156-0/+55
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge topic 'cxxmodules-depend-on-modmap-file'Brad King2024-02-166-0/+62
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 363300ace5 cxxmodules: depend on the modmap contents 940628d48d Tests/CXXModules: test that objects depend on their modmap files 681ee92030 Tests/CXXModules: support testing rebuild conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9248
| * | | | | | Tests/CXXModules: test that objects depend on their modmap filesBen Boeckel2024-02-156-0/+49
| | | | | | |
| * | | | | | Tests/CXXModules: support testing rebuild conditionsBen Boeckel2024-02-141-0/+13
| | | | | | |
* | | | | | | Merge topic 'cmake-language-exit-code'Brad King2024-02-1523-3/+70
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86698eea85 cmake_language: Fix EXIT inside control flow blocks a3033d1a06 Tests: Remove unnecessary RunCMake.cmake_language expected result files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9250
| * | | | | | cmake_language: Fix EXIT inside control flow blocksBrad King2024-02-1415-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were missed in commit 1bb1769235 (cmake_language: Add EXIT subcommand, 2024-01-05, v3.29.0-rc1~112^2). Fixes: #25674
| * | | | | | Tests: Remove unnecessary RunCMake.cmake_language expected result filesBrad King2024-02-138-3/+0
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | RunCMake defaults to expecting result `0` with empty stderr.
| * | | | | Merge topic 'ticlang-compilers' into release-3.29Brad King2024-02-1212-0/+141
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c51136b8c ci: Enable TIClang test on Debian Clang jobs in nightly pipeline 9ba0a54554 TIClang: Add support for TI Clang-based compilers, including tiarmclang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9228
| * \ \ \ \ \ Merge topic 'autogen-rcc-zstd' into release-3.29Brad King2024-02-122-0/+25
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e87df4d46 Autogen/RCC: Disable zstd if it is not supported Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !9232
* | \ \ \ \ \ \ Merge topic 'cxxmodules-collapse-source-paths'Brad King2024-02-154-0/+31
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f0d853de7 cmDyndepCollation: collapse full path before looking up Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9249
| * | | | | | | cmDyndepCollation: collapse full path before looking upBen Boeckel2024-02-144-0/+31
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `cmSourceFile::GetFullPath()` performs a `CollapseFullPath` before storing the path. Match this behavior when looking up paths from the source file set constructions. Fixes: #25614
* | | | | | | Merge topic 'genex-quote'Brad King2024-02-152-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 879690ba14 GeneratorExpression: Add $<QUOTE> generator expression Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9242
| * | | | | | | GeneratorExpression: Add $<QUOTE> generator expressionRobert Maynard2024-02-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support inserting '"' literals in generator expressions Fixes #20869
* | | | | | | | Reduce scope of variableChristoph Grüninger2024-02-141-2/+1
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | Found by Cppcheck (variableScope)
* | | | | | | Merge topic 'test-iar'Brad King2024-02-135-31/+38
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a772c2c384 Tests/RunCMake/IAR: Extend tests to actually build 9f52953df5 Tests/RunCMake/IAR: Enable IAR extended keywords cc268d58e2 Tests/RunCMake/IAR: Update architecture-specific link flags bcddea5041 Tests/RunCMake/IAR: Simplify test project cmake code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9240
| * | | | | | Tests/RunCMake/IAR: Extend tests to actually buildBrad King2024-02-121-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the tests from commit 37e44707bc (IAR: Add tests covering IAR toolchains, 2023-10-21) to actually drive the generated build system.
| * | | | | | Tests/RunCMake/IAR: Enable IAR extended keywordsFelipe Torrezan2024-02-123-0/+3
| | | | | | |
| * | | | | | Tests/RunCMake/IAR: Update architecture-specific link flagsFelipe Torrezan2024-02-121-10/+16
| | | | | | |
| * | | | | | Tests/RunCMake/IAR: Simplify test project cmake codeBrad King2024-02-124-11/+6
| | | | | | |
* | | | | | | Merge topic 'ticlang-compilers'Brad King2024-02-1212-0/+141
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 49b5a65477 Merge branch 'backport-ticlang' into ticlang-compilers 4c51136b8c ci: Enable TIClang test on Debian Clang jobs in nightly pipeline 9ba0a54554 TIClang: Add support for TI Clang-based compilers, including tiarmclang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9228
| * \ \ \ \ \ \ Merge branch 'backport-ticlang' into ticlang-compilersBrad King2024-02-0912-0/+141
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | / / | | | |_|_|/ / | | |/| | | |
| | * | | | | TIClang: Add support for TI Clang-based compilers, including tiarmclangAlan Phipps2024-02-0912-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add TIClang compiler ID and support in compiler modules. Update documentation. Add rudimentary RunCMake test for TIClang to test basic functionality. Fixes: #24619
* | | | | | | Merge topic 'autogen-rcc-zstd'Brad King2024-02-122-0/+25
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e87df4d46 Autogen/RCC: Disable zstd if it is not supported Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !9232
| * | | | | | Autogen/RCC: Disable zstd if it is not supportedOrkun Tokdemir2024-02-092-0/+25
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the `--no-zstd` argument for `RCC` when `QT_FEATURE_zstd` is `OFF`. This causes user project builds to fail. That bug is fixed in Qt by https://codereview.qt-project.org/c/qt/qtbase/+/537546 but for the older versions, fix it here too. Fixes: #25664
* | | | | | Merge topic 'visionOS'Brad King2024-02-125-52/+44
|\ \ \ \ \ \ | |_|/ / / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b5acb557a Tests: Enable RunCMake.CMakePackage visionOS cases with Xcode 15.2 871a4c5aac Merge branch 'backport-3.28-visionOS' into visionOS 22eb1b6d67 Tests: Enable visionOS tests with Xcode 15.2 f6fa34839c Tests: Update RunCMake.XcodeProject-Device for visionOS in Xcode 15.1 beta 40be88a92e visionOS: Update deployment-target flag for Xcode 15.1 beta 3ece4553c2 cmLocalGenerator: Avoid unnecessary lookup without a deployment target Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Volodymyr B. <v.boichentsov@elsevier.com> Merge-request: !9239
| * | | | Tests: Enable RunCMake.CMakePackage visionOS cases with Xcode 15.2Brad King2024-02-092-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode 15.2 officially includes the visionOS SDKs. Fix a typo from commit 2a398cd9b6 (CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signatures, 2024-01-04) to make it pass. Issue: #25266
| * | | | Merge branch 'backport-3.28-visionOS' into visionOSBrad King2024-02-093-46/+39
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/|
| | * | Tests: Enable visionOS tests with Xcode 15.2Brad King2024-02-092-44/+37
| | | | | | | | | | | | | | | | | | | | | | | | Xcode 15.2 officially includes the visionOS SDKs. Fixes: #25266