summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | GNU: Fix detection of C++ 11 mode in GCC 4.{4,5,6}Brad King2024-04-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These versions of the compiler have experimental C++11 support and so do not define `__cplusplus` correctly, but do define a feature macro we can use to distinguish this mode.
| * | | | | PGI: Fix detection of C++ 14/17 modesBrad King2024-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The PGI compiler is based on EDG. Share conditions with Intel Classic.
| * | | | | NVHPC: Fix detection of C++ 20 mode on NVHPC < 22.7Brad King2024-04-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This compiler does not always define `__cplusplus` correctly, but does define a feature macro that we can use to distinguish this mode.
| * | | | | XL/XLClang: Fix detection of C++ 14 mode on LinuxBrad King2024-04-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This compiler does not always define `__cplusplus` correctly, but does define a feature macro that we can use to distinguish this mode.
| * | | | | Intel: Fix detection of C++ 14/17 modes on Linux/macOSBrad King2024-04-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Intel Classic C++ compiler is based on EDG. It does not always define `__cplusplus` correctly, but does define feature macros that we can use to distinguish these modes.
| * | | | | Intel: Fix detection of C++ 17/20 modes on WindowsBrad King2024-04-041-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Intel Classic C++ compiler for Windows does not always define `_MSVC_LANG` correctly, but does define feature macros that we can use to distinguish these modes.
| * | | | | CompilerId: Clarify C and C++ standard level detectionBrad King2024-04-042-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | Use named constants. Regularize comparison patterns.
* | | | | | Merge topic 'ctest-invalid-arg'Brad King2024-04-054-2/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 304396d13c ctest: Show error on invalid ctest arguments 06cb978c1b Tests: Fix ctest flag typo in RunCMake.GoogleTest Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9383
| * | | | | ctest: Show error on invalid ctest argumentsJake D'Esposito2024-04-043-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24227
| * | | | | Tests: Fix ctest flag typo in RunCMake.GoogleTestJake D'Esposito2024-04-041-2/+2
| | |_|_|/ | |/| | |
* | | | | Merge topic 'enable_language-before-project'Brad King2024-04-039-0/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 97464aa970 enable_language(): Fail if called before project() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9396
| * | | | | enable_language(): Fail if called before project()Craig Scott2024-04-029-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25550
* | | | | | Merge topic 'swift-linker-selection'Brad King2024-04-036-5/+42
|\ \ \ \ \ \ | |_|_|/ / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | 3fb4092826 Swift: Add CMAKE_LINKER_TYPE support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9380
| * | | | Swift: Add CMAKE_LINKER_TYPE supportEvan Wilde2024-04-026-5/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend commit 96a953b1ed (Add options to specify linker tool, 2023-09-27, v3.29.0-rc1~577^2) with the `CMAKE_Swift_USING_LINKER_*` variables needed to support `CMAKE_LINKER_TYPE` for Swift.
* | | | | Merge topic 'ctest-resource-lock'Brad King2024-04-027-74/+21
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | | | | | | | | | | | | | | | | 85745cce7a ctest: Restore enforcement of RESOURCE_LOCK test property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9394
| * | | ctest: Restore enforcement of RESOURCE_LOCK test propertyBrad King2024-04-017-74/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 5ff0b4ed57 (cmCTestMultiProcessHandler: Consolidate test readiness checks, 2023-10-20, v3.29.0-rc1~378^2~4) accidentally broke `RESOURCE_LOCK`. Fix it and replace the previous test with one that would have caught this. Fixes: #25843
* | | | Merge topic 'add_library-no-static-fallback'Brad King2024-04-017-0/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a61c9afdf8 add_library: Reject shared libraries on platforms that do not support them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9347
| * | | | add_library: Reject shared libraries on platforms that do not support themAsit Dhal2024-03-297-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add policy CMP0164 to provide compatibility. Fixes: #25759
* | | | | Merge topic 'tls-verify'Brad King2024-04-0136-13/+116
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7139944264 ctest: Fall back to CMake environment variable for TLS server verification c295df53c6 ctest: Test fallback to CMake options for TLS server verification 0d250dd021 ExternalProject: Honor CMAKE_TLS_VERIFY environment variable e8404502b1 ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION pattern 46faaf9667 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable 8b0169fe2b file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variable 93886f5c7d file(DOWNLOAD|UPLOAD): Avoid unnecessary CMAKE_TLS_VERIFY variable lookup bed32f400e file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variable ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !9389
| * | | | | ctest: Fall back to CMake environment variable for TLS server verificationBrad King2024-03-3016-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `ENV{CMAKE_TLS_VERIFY}` if `CTEST_TLS_VERIFY` or `CMAKE_TLS_VERIFY` is not set. Issue: #23608
| * | | | | ctest: Test fallback to CMake options for TLS server verificationBrad King2024-03-3017-3/+33
| | | | | |
| * | | | | file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variableBrad King2024-03-302-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #23608
| * | | | | file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variableBrad King2024-03-302-7/+28
| | | | | |
| * | | | | Tests: Update cmake_minimum_required version in RunCMake ctest casesBrad King2024-03-293-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | 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 'nested-package-config-file'Brad King2024-04-015-0/+102
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | 6ddf8712cd CMakePackageConfigHelpers: Use unique variable name for pkg prefix 91b9d35608 CMakePackageConfigHelpers: Remove unused variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9390
| * | | CMakePackageConfigHelpers: Use unique variable name for pkg prefixCraig Scott2024-03-315-0/+102
| | | | | | | | | | | | | | | | Fixes: #25827
* | | | Merge topic 'prop-GENERATED-visibility'Brad King2024-03-29427-0/+10996
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 071f0d6f98 CMP0163: Make GENERATED source file property globally visible 00c6573d86 cmSetPropertyCommand: Refactor checks for CMP0118 e04af1e9c2 cmGetSorceFilePropertyCommand: Simplify string comparisons Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9308
| * | | | CMP0163: Make GENERATED source file property globally visibleDeniz Bahadir2024-03-29427-0/+10996
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was originally attempted by policy CMP0118, but its implementation did not cover all intended use cases. We fixed its documentation in commit 1dabbbb5e0 (CMP0118: Revise documentation to describe actual behavior, 2024-03-20). Add new policy CMP0163 to cover the remaining use cases. In particular, make the `GENERATED` property visible to `get_property` calls in other directories. In order to capture the original intention of CMP0118, define CMP0163's NEW behavior to also imply CMP0118's NEW behavior. Fixes: #25437 Fixes: #25058
* | | | CPack/WIX: Add support for WiX Toolset v4Brad King2024-03-245-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `CPACK_WIX_VERSION` option to specify version WiX for which the project is configured. Fixes: #23910
* | | | Tests: Prepare RunCMake.CPack_WIX to cover multiple WiX versionsBrad King2024-03-244-3/+12
|/ / /
* | | Merge topic 'file-RPATH-large-ELF'Brad King2024-03-245-1/+50
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 615a1c6691 cmELF: Get correct section count for large ELF binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9310
| * | | cmELF: Get correct section count for large ELF binariesMartin Duffy2024-03-225-1/+50
| | | | | | | | | | | | | | | | Fixes: #24877
* | | | Merge topic 'linker-vars-propagate-try_compile'Brad King2024-03-244-0/+40
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 98cc86e265 try_compile(): Include languages with _ or - when passing linker vars Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9361
| * | | try_compile(): Include languages with _ or - when passing linker varsCraig Scott2024-03-224-0/+40
| | | | | | | | | | | | | | | | Fixes: #25809
| * | | Merge topic 'ninja-fortran-include' into release-3.29Brad King2024-03-204-8/+15
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | 36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9351
* | | | Merge topic 'doc-CMP0118'Brad King2024-03-2291-247/+976
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1dabbbb5e0 CMP0118: Revise documentation to describe actual behavior d2f5b79795 CMP0118: Fix some tests and add more tests Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9358
| * | | | CMP0118: Revise documentation to describe actual behaviorDeniz Bahadir2024-03-218-68/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The policy was originally intended to make the `GENERATED` source file property globally visible, but the implementation didn't fully achieve that goal. Revise the documentation to describe what it actually does. Issue: #25437
| * | | | CMP0118: Fix some tests and add more testsDeniz Bahadir2024-03-1984-179/+908
| | | | |
* | | | | Merge topic 'fileapi-provide-glob-dependent'Brad King2024-03-213-3/+53
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6116bcb066 fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles object f578515d02 cmGlobCacheEntry: Add helper to carry CONFIGURE_DEPENDS glob cache arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9348
| * | | | fileapi: Add CONFIGURE_DEPENDS glob info to cmakeFiles objectArctic Lampyrid2024-03-193-3/+53
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25668 Co-authored-by: Brad King <brad.king@kitware.com>
* | | | | Merge topic 'ninja-fortran-include'Brad King2024-03-204-8/+15
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 36dc8d6d50 Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9351
| * | | | Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sourcesBrad King2024-03-194-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a preprocessed source also uses the Fortran `INCLUDE` directive, search the original source file's directory. Fixes: #25792
* | | | | Merge topic 'package-dispatch-apple'Brad King2024-03-2014-7/+96
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85d6d3b2e3 generate_apple_*_selection_file: Add option to capture errors 2149dbd379 generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) support be642f6ed5 generate_apple_architecture_selection_file: Simplify signature 8959ad9db1 Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument order 677f3d721b Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9349
| * | | | generate_apple_*_selection_file: Add option to capture errorsBrad King2024-03-1911-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option to capture error messages in a variable instead of terminating with a fatal error. Fixes: #25778
| * | | | generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) supportBrad King2024-03-194-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a test case. Fixes: #25780
| * | | | generate_apple_architecture_selection_file: Simplify signatureBrad King2024-03-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow callers to pass multiple values to list-valued arguments instead of putting the entire list in a single quoted argument. Fixes: #25779
| * | | | Tests/RunCMake/CMakePackage: Fix Apple architecture selection argument orderBrad King2024-03-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Call `generate_apple_architecture_selection_file` with matching order in `SINGLE_ARCHITECTURES` and `SINGLE_ARCHITECTURE_INCLUDE_FILES`.
| * | | | Tests/RunCMake/CMakePackage: Add architecture i386 for macOS on Xcode < 10Brad King2024-03-191-4/+10
| | | | | | | | | | | | | | | | | | | | Use every architecture each version of Xcode has in `$(ARCHS_STANDARD)`.
| * | | | Merge topic 'Apple-TBD-in-subdirecory' into release-3.29Brad King2024-03-142-3/+14
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcc26ce465 Apple Text Based Stubs: should be usage in subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9341
| * \ \ \ \ Merge topic 'autogen-makefile-depfile' into release-3.29Brad King2024-03-146-1/+28
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2d1763f88 cmQtAutoGenInitializer: De-duplicate autogen/timestamp target depend logic 6193d15556 Autogen: Restore target-ordering dependencies in Makefiles with DEPFILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9340