summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Fix compilation of unchanged source filesOrkun Tokdemir2024-07-1713-0/+377
| | | | | | | | | | | Since generated `ui` headers are added as byproducts of the autogen target, it causes to compilation of unchanged files. This commits adds generated `ui` headers to byproducts of the timestamp target instead of the autogen target's. Fixes: #25436 Fixes: #26135
* Autogen: Fix autogen test separation bugsOrkun Tokdemir2024-07-172-31/+29
| | | | | | | | | | When 6ee5c431 is merged, `autogen_test_number` is put into the wrong scope. The problem is that RunCmake.Autogen_Qt5_X tests are created only Qt6 prefix is provided. This commit moves it to the upper scope. Fix Xcode specific bug where `foreach(exe IN ITEMS Moc Uic Rcc)` should be removed.
* Autogen: Revert "Add timestamp file for CMAKE_GLOBAL_AUTORCC_TARGET"Orkun Tokdemir2024-07-101-16/+0
| | | | | | | | | | | In the commit 8d99e71b, a new timestamp file was added to prevent unneeded `AUTORCC` triggering after successful builds when `CMAKE_GLOBAL_AUTORCC_TARGET` is ON. This caused a regression that configuration fails when multiple `.qrc` files are added to a target. This commits reverts 8d99e71b. Issue: #26059 Fixes: #26126
* Merge topic 'xdg-config-dir'Brad King2024-07-085-0/+18
|\ | | | | | | | | | | | | | | 5b3fbd5f64 cmSystemTools: Add CMake config directory Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9615
| * cmSystemTools: Add CMake config directoryMartin Duffy2024-07-035-0/+18
| |
* | Merge topic 'ios-mac-catalyst'Brad King2024-07-0813-1/+67
|\ \ | | | | | | | | | | | | | | | | | | 2785364b7b iOS: Add support for Mac Catalyst Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9595
| * | iOS: Add support for Mac CatalystRaul Metsma2024-07-0313-1/+67
| | | | | | | | | | | | | | | Issue: #20132 Signed-off-by: Raul Metsma <raul@metsma.ee>
* | | Merge topic 'vs-dotnet-sdk-custom-command'Brad King2024-07-085-9/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c7e5ebd0a8 VS: Support add_custom_command in .Net SDK-style projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9616
| * | | VS: Support add_custom_command in .Net SDK-style projectsCalum Robinson2024-06-255-9/+15
| |/ / | | | | | | | | | Fixes: #26048
* | | Merge topic 'TRANSITIVE_LINK_PROPERTIES_isnt_usage'Kyle Edwards2024-07-083-1/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2fc9e482a9 Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9643
| * | | Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usageRobert Maynard2024-07-053-1/+10
| | | | | | | | | | | | | | | | Fixes #26108
* | | | Merge topic 'cmArgumentParser-Derived-Classes'Brad King2024-07-041-35/+54
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fc2bad167 cmArgumentParser: Support binding with derived classes e0f9d81f09 STL: extend type_traits to deal with member pointers Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9634
| * | | | cmArgumentParser: Support binding with derived classesVito Gamberini2024-07-021-35/+54
| | |_|/ | |/| |
* | | | Merge topic 'test-ExternalProject'Brad King2024-07-041-4/+5
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | fe8dc3012e Tests: Fix RunCMake.ExternalProject when git is not available Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Christoph GrĂ¼ninger <foss@grueninger.de> Merge-request: !9639
| * | | Tests: Fix RunCMake.ExternalProject when git is not availableBrad King2024-07-031-4/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Move Git-dependent test cases added by commit 2ef3bd9186 (ExternalProject: Add TLS version options for https connections, 2024-02-26, v3.30.0-rc1~471^2) into the block of cases that run only when Git is found. Fixes: #26104
| * | Merge topic 'link-feature-attributes-stabilization' into release-3.30Brad King2024-06-2438-42/+96
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 576567f028 Link feature attributes: stabilization 5617c34c31 Libraries processing: update configuration wording Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9607
* | \ \ Merge topic 'codegen'Brad King2024-07-0245-1/+360
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 197cb419d1 add_custom_command: Add CODEGEN support Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9581
| * | | | add_custom_command: Add CODEGEN supportJuan Ramos2024-07-0145-1/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By specifying CODEGEN as an argument to add_custom_command the custom command will be added to a codegen build target. The intent is to provide a convenient way for users to get their generated files without having to build the whole project. This can be helpful for code analysis tools which can be useful for IDEs and CI.
* | | | | Merge topic 'vs-framework-references'Brad King2024-06-273-0/+33
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0721f9bf0f VS: Add VS_FRAMEWORK_REFERENCES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9626
| * | | | | VS: Add VS_FRAMEWORK_REFERENCESCalum Robinson2024-06-263-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #26082
* | | | | | Merge topic 'orkun_26059_24_06_2024'Brad King2024-06-271-0/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d99e71b7e Autogen: Add timestamp file for CMAKE_GLOBAL_AUTORCC_TARGET 003830f14f Autogen: Remove redundant push_back Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9628
| * | | | | | Autogen: Add timestamp file for CMAKE_GLOBAL_AUTORCC_TARGETOrkun Tokdemir2024-06-261-0/+16
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `CMAKE_GLOBAL_AUTORCC_TARGET` is ON and qrc files are not generated, `<target_name>_arcc_data` is always dirty. So this commit adds a timestamp file which depens on what `<target_name>_arcc_data` depends before and ``<target_name>_arcc_data` depends the timestamp file. The dependency graph before (qrcFile, InfoFile) -> _arcc_target The dependency graph after (qrcFile, InfoFile) -> global_rcc_timestamp ->_arcc_target Fixes: #26059
* | | | | | Merge topic 'test-autogen-nmc'Brad King2024-06-271-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a68ad5233 Autogen: Filter out QtDeployTargets from Ninja Multi-Config tests Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9627
| * | | | | Autogen: Filter out QtDeployTargets from Ninja Multi-Config testsOrkun Tokdemir2024-06-261-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Since https://codereview.qt-project.org/c/qt/qtbase/+/518683 adds generation of `.qt/QtDeployTargets-$<CONFIG>.cmake`, those files should be filtered out from the `Ninja Multi-Config` tests.
* | | | | Merge topic 'file-rpath-elf-static'Brad King2024-06-264-7/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 02f3e5be6a file(RPATH_CHANGE ...): no-op for static binary ccbbf64552 Tests/RunCMake/file-RPATH: Prepare to cover statically linked binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9623
| * | | | | file(RPATH_CHANGE ...): no-op for static binaryHarmen Stoppels2024-06-242-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting `CMAKE_INSTALL_RPATH` on a project that contains statically linked executables breaks the install step, since rpaths cannot be changed. This commit makes rpath adjustments not an error on static libraries. Fixes #26078
| * | | | | Tests/RunCMake/file-RPATH: Prepare to cover statically linked binariesHarmen Stoppels2024-06-243-7/+16
| |/ / / /
* | | | | Merge topic 'preset-comments'Brad King2024-06-2614-0/+229
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d2cc6ece6 presets: Allow comments in presets files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9608
| * | | | | presets: Allow comments in presets filesAliaksandr Averchanka2024-06-2414-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Kanaiym <abdigak@clarkson.edu> Fixes: #22791
* | | | | | Merge topic 'cpack-debian-multiarch'Brad King2024-06-267-4/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71c631c435 CPack/DEB: Add Multi-Arch support 55524c48a4 CPack/DEB: Add Multi-Arch support a022705a2e Tests/RunCMake/CPack: Improve README Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9609
| * | | | | | CPack/DEB: Add Multi-Arch supportRobert Schuster2024-06-244-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix tests Fixes: #21445
| * | | | | | CPack/DEB: Add Multi-Arch supportRobert Schuster2024-06-212-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Multi-Arch in control files of Debian packages. Valid values: same, foreign, allowed Fixes: #21445
| * | | | | | Tests/RunCMake/CPack: Improve READMERobert Schuster2024-06-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add hints for newbies. Fix typos.
* | | | | | | Merge topic 'orkun_refactor_autogen_tests_21_06_2024'Brad King2024-06-2669-518/+570
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ee5c431d5 Autogen: Separate RunCMake.AutogenQtX tests Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !9620
| * | | | | | | Autogen: Separate RunCMake.AutogenQtX testsOrkun Tokdemir2024-06-2469-518/+570
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RunCMake.AutogenQtX tests occasionally time out so separate `RunCMake.AutogenQtX` tests. Example: https://open.cdash.org/tests/1583599782
* | | | | | | Merge topic 'issue-26041-filemakedirectory-result-optional-argument'Brad King2024-06-2616-11/+49
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95323c90a1 file(MAKE_DIRECTORY): Add optional RESULT keyword to capture failure. Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9604
| * | | | | | file(MAKE_DIRECTORY): Add optional RESULT keyword to capture failure.Asit Dhal2024-06-2416-11/+49
| | |/ / / / | |/| | | | | | | | | | | | | | | | Fixes: #26041
* | | | | | Merge topic 'apple-framework-bundle-name'Brad King2024-06-245-27/+85
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a06f173d9 Apple: Add CFBundleName to framework Info.plist files 7c1a18655b Tests/RunCMake/Framework: Improve failure messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !9610
| * | | | | | Apple: Add CFBundleName to framework Info.plist filesBrad King2024-06-204-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #26046
| * | | | | | Tests/RunCMake/Framework: Improve failure messagesBrad King2024-06-183-27/+53
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'link-feature-attributes-stabilization'Brad King2024-06-2438-42/+96
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 576567f028 Link feature attributes: stabilization 5617c34c31 Libraries processing: update configuration wording Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9607
| * | | | | Link feature attributes: stabilizationMarc Chevrier2024-06-2128-32/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * enhance OVERRIDE handling * Update wording
| * | | | | Libraries processing: update configuration wordingMarc Chevrier2024-06-2110-10/+10
| | | | | |
* | | | | | Merge topic 'nmc-config-list'Brad King2024-06-243-0/+6
|\ \ \ \ \ \ | |_|_|/ / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1a804d616 Ninja Multi-Config: Fix crash if config list is changed in subdirectory 9f8afacb3e cmGlobalNinjaGenerator: Reuse local generator caching of config list 48b911e3e5 cmGlobalNinjaGenerator: Factor out helper for global config list lookup e2c6a54b07 cmGlobalNinjaGenerator: De-duplicate CMAKE_CONFIGURATION_TYPES lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9618
| * | | | Ninja Multi-Config: Fix crash if config list is changed in subdirectoryBrad King2024-06-213-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Look up the value of `CMAKE_CONFIGURATION_TYPES` only in the top level directory. Fixes: #26064
* | | | Merge topic 'masm-static-lib'Brad King2024-06-214-0/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | faadb86474 ASM_MASM: Add support for masm-only static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9612
| * | | ASM_MASM: Add support for masm-only static librariesJeremy Koritzinsky2024-06-204-0/+4
| | |/ | |/| | | | | | | | | | | | | | | | Set correct command to create a static library for Microsoft assembly dialects. Fixes: #18889
* | | Merge topic 'xcode-16'Brad King2024-06-142-2/+3
|\ \ \ | |/ / |/| / | |/ | | | | | | b243c19986 Tests: Update expected results for Xcode 16 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9596
| * Tests: Update expected results for Xcode 16Brad King2024-06-132-2/+3
| | | | | | | | | | | | | | | | | | | | In `Tests/RunCMake/LinkerSelection`, Xcode 16 warns when building the AppleClassic case: ld: warning: -ld_classic is deprecated and will be removed in a future release Tolerate all build warnings.
* | Merge topic 'fc-cmp0168-fresh'Brad King2024-06-102-11/+14
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | 9299cbbdb4 FetchContent: Force cmake --fresh to re-execute direct population steps e82e2c38c1 Tests: RunCMake.FetchContent should not always force _deps removal f97b25ec4b Tests: Fix -direct variants of FetchContent tests using wrong files 11b684c449 FetchContent: Fix typos in stamp/step file names a02eec4a9f FetchContent,ExternalProject: Fix extra semicolons in step commands Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9589