summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge topic 'cxxmodules-no-export-basedirs-as-include-paths' into release-3.29Brad King2024-02-297-0/+147
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65bd837786 Merge branch 'backport-3.28-cxxmodules-no-export-basedirs-as-include-paths' 028f3134e5 cmExportFileGenerator: only export include paths for HEADERS file sets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9295
| * \ \ Merge branch 'backport-3.28-cxxmodules-no-export-basedirs-as-include-paths'Brad King2024-02-287-0/+147
| |\ \ \ | | | |/ | | |/|
| | * | cmExportFileGenerator: only export include paths for HEADERS file setsBen Boeckel2024-02-287-0/+147
| | | |
* | | | Merge topic 'test-cxxmodules-vs' into release-3.29Brad King2024-02-281-1/+1
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | 6925978f3e Tests/RunCMake/CXXModules: Update VS circular error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9299
| * | Tests/RunCMake/CXXModules: Update VS circular error messageBrad King2024-02-281-1/+1
| |/ | | | | | | Match the message expected from MSBuild as of VS 17.9.
* | Swift: Ninja: Pass module name to all swift buildsEvan Wilde2024-02-232-1/+7
| | | | | | | | | | | | | | | | Executables that don't export a public API should not emit a swiftmodule, but the swift modulename is observable from within the program, so we should still set the module name on executable builds. Fixes: #25710
* | Merge topic 'restore-link-interface-objlib-with-unity' into release-3.29Brad King2024-02-226-1/+37
|\ \ | |/ | | | | | | | | | | | | | | 5b8e9e068f Restore support for TARGET_OBJECTS in link interfaces with unity builds 1313c78a9c Tests: Update RunCMake.TargetObjects cmake_minimum_required version Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9279
| * Restore support for TARGET_OBJECTS in link interfaces with unity buildsBrad King2024-02-215-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | This was broken by commit df08c37a42 (cmGlobalGenerator: Add unity/pch sources after computing compile features, 2024-02-02, v3.28.3~1^2~1^2), and 3.28.2's commit 76b5383123 (cmGlobalGenerator: add unity sources after computing target compile features, 2024-01-01, v3.28.2~17^2~1). The problem is very similar to that fixed by commit 4e8f24e977 (PCH: Clear link interface cache when adding PCH object to it, 2022-01-24, v3.23.0-rc1~44^2~9). Generalize that fix. Fixes: #25696
| * Tests: Update RunCMake.TargetObjects cmake_minimum_required versionBrad King2024-02-211-1/+1
| | | | | | | | | | This was missed in commit 1edf138506 (Tests/RunCMake: Update cmake_minimum_required versions, 2023-02-06, v3.27.0-rc1~508^2~1).
| * Merge topic 'cxxmodules-transitive-std' into release-3.28Brad King2024-02-212-2/+2
| |\ | | | | | | | | | | | | | | | | | | f0df692d21 Tests/CXXModules: test `cxx_std_20` coming from a dependency Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9276
* | \ Merge topic 'cxxmodules-transitive-std' into release-3.29Brad King2024-02-212-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | f0df692d21 Tests/CXXModules: test `cxx_std_20` coming from a dependency Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9276
| * | Tests/CXXModules: test `cxx_std_20` coming from a dependencyBen Boeckel2024-02-202-2/+2
| | | | | | | | | | | | Closes: #25569
* | | Merge topic 'cxxmodules-transitive-modules-usage' into release-3.29Brad 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 'cxxmodules-transitive-target-usage' into release-3.29Brad 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' into release-3.29Brad 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 'cxxmodules-collation-restat' into release-3.29Brad 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' into release-3.29Brad 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' into release-3.29Brad 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' into release-3.29Brad 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 'cxxmodules-collapse-source-paths' into release-3.29Brad 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 '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
| * | | 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' 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
| * | | | 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
* | | | 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
| * | Tests: Update RunCMake.XcodeProject-Device for visionOS in Xcode 15.1 betaBrad King2024-02-091-2/+2
| | | | | | | | | | | | The target identification macros changed since the 15.0 beta.
* | | Merge topic 'clang-cl-showIncludes' into release-3.29Brad King2024-02-088-5/+21
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 0d933fc0d9 Ninja: Update showIncludes prefix detection for clang-cl 18 a88acb0a41 Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9229
| * | Ninja: Update showIncludes prefix detection for clang-cl 18Martin Storsjö2024-02-075-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit LLVM/Clang commit `5523fefb01c2` ([clang][lex] Use preferred path separator in includer-relative lookup, 2023-09-08), part of the upcoming 18.x release, the output format of the showIncludes flag has changed, where it now prints paths with double backslashes: Note: including file: .\\foo.h Previously, we expected to see the path name in the form "./foo.h". Extend the regex to match a path name starting with `.\`, in addition to the existing matched patterns.
| * | Tests/RunCMake/Ninja: Rename showIncludes case for clang-cl <= 17Brad King2024-02-075-5/+5
| |/ | | | | | | Make room for a new case for clang-cl 18.
* | Merge topic 'findopengl-glu-include-dir'Brad King2024-02-061-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | aebebf72df FindOpenGL: Add support for a separate GLU include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9216
| * | FindOpenGL: Add support for a separate GLU include directoryJordan Williams2024-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a OPENGL_GLU_INCLUDE_DIR cache variable for `GL/glu.h` and attach it as an include directory to the `OpenGL::GLU` target. Also add a `OPENGL_INCLUDE_DIRS` result variable to list all include directories. Account for the GLU header when deciding whether GLU is found. Fixes: #25627