summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindPython-enhance-tests'Brad King2023-06-303-28/+218
|\ | | | | | | | | | | | | | | | | 97b3a2ac17 FindPython: Add labels Python2 and/or Python3 on tests 9b45210b05 FindPython: Add tests for IronPython v3 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8603
| * FindPython: Add labels Python2 and/or Python3 on testsMarc Chevrier2023-06-291-2/+66
| |
| * FindPython: Add tests for IronPython v3Marc Chevrier2023-06-293-26/+152
| |
* | Merge topic 'debugger-segfault'Brad King2023-06-301-1/+29
|\ \ | | | | | | | | | | | | | | | | | | | | | 764258771a Debugger: Fix threads request segfault after thread exited event Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8604
| * | Debugger: Fix threads request segfault after thread exited eventBen McMorran2023-06-291-1/+29
| | | | | | | | | | | | Fixes: #25041
* | | Merge topic 'FetchContent-unparsed-arguments'Brad King2023-06-304-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ede4cab2b FetchContent: Protect ExternalProject keywords from unknown arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !8598
| * | | FetchContent: Protect ExternalProject keywords from unknown argumentsBrad King2023-06-294-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ExternalProject_Add` treats all keyword arguments as multi-valued. FetchContent re-orders some keyword arguments w.r.t. unparsed arguments. Add an internal keyword argument to separate the keyword values from following unparsed arguments. This was exposed by commit 550f63447d (ExternalProject/FetchContent: Support relative remote URLs, 2023-04-21, v3.27.0-rc1~156^2) by adding `GIT_REPOSITORY` to the set of re-ordered keyword arguments. This caused its value to absorb following unparsed arguments. Fixes: #25029
| * | Merge topic 'support_nvhpc_versions_without_isystem' into release-3.27Brad King2023-06-266-1/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f73ae7c510 NVHPC: Support nvfortran versions that don't support isystem Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8588
* | \ \ Merge topic 'vs-cxxmodules-same-src-name'Brad King2023-06-306-0/+42
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | b9c99830c5 VS: Fix C++ modules in source files with the same name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8596
| * | | VS: Fix C++ modules in source files with the same nameBrad King2023-06-286-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When multiple source files in a single target have the same name, we already set `ObjectFileName` explicitly to avoid a `.obj` collision. For C++ module sources, set `Module{Output,Dependencies}File` to avoid `.ifc` and `.module.json` collisions. Fixes: #25038
* | | | Deprecate Visual Studio 12 2013 generatorBrad King2023-06-265-0/+14
| | | | | | | | | | | | | | | | | | | | Update documentation to mark the generator deprecated. Add a warning at the end of generation plus an option to turn off the warning.
* | | | Merge topic 'imported-target-framework-path'Brad King2023-06-265-42/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d605f728f7 macOS: Allow IMPORTED_LOCATION to be a framework folder Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8586
| * | | | macOS: Allow IMPORTED_LOCATION to be a framework folderKyle Edwards2023-06-235-42/+28
| | | | | | | | | | | | | | | | | | | | Issue: #24946
* | | | | Merge topic 'support_nvhpc_versions_without_isystem'Brad King2023-06-266-1/+12
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | f73ae7c510 NVHPC: Support nvfortran versions that don't support isystem Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8588
| * | | | NVHPC: Support nvfortran versions that don't support isystemRobert Maynard2023-06-236-1/+12
| | |/ / | |/| | | | | | | | | | Fixes: #25019
* | | | Merge topic 'link-depends-is-OFF'Brad King2023-06-262-3/+4
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 5945a98ced link dependencies: deactivate the feature Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8587
| * | | link dependencies: deactivate the featureMarc Chevrier2023-06-232-3/+4
| |/ / | | | | | | | | | | | | | | | | | | Unfortunately it breaks in combination with LTO due to a bug in the GNU linker. Fixes: #25014
* | | Merge topic 'build-pch'Brad King2023-06-231-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aba5bab62e ci: Add nightly job to build CMake with PCH on macOS 44f08e94ff ci: Add nightly job to build CMake with PCH on Windows e0eb97e923 libuv: Precompile common expensive headers e2efa89c7f cmcppdap: Precompile common expensive headers 9d7921d388 liblzma: Precompile common expensive headers 6aaefdb3be libarchive: Precompile common expensive headers a8d91e2719 curl: Precompile common expensive headers 59277bccd3 bzip: Precompile common expensive headers ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8571
| * | | CMakeLibTests: Precompile common expensive headersClemens Wasser2023-06-221-0/+4
| | |/ | |/|
* | | File set: Allow absolute CMAKE_INSTALL_INCLUDEDIRKyle Edwards2023-06-203-0/+26
|/ / | | | | | | | | | | | | | | | | When install(TARGETS) and install(EXPORT) were called with file sets and an absolute CMAKE_INSTALL_INCLUDEDIR, "${_IMPORT_PREFIX}/" was still being prepended to the base directory and files, resulting in incorrect paths. Don't prepend this when absolute paths are used. Fixes: #25010
* | Merge topic 'cmList-SUBLIST-regression'Brad King2023-06-201-0/+51
|\ \ | |/ | | | | | | | | | | | | 1cfaed0684 list(): restore SUBLIST behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8569
| * list(): restore SUBLIST behaviorMarc Chevrier2023-06-161-0/+51
| | | | | | | | Fixes: #25002
* | Merge topic 'CMake_TEST_FindPython2-3'Brad King2023-06-1619-379/+501
|\ \ | | | | | | | | | | | | | | | | | | 711d1da125 FindPython: add capability to select python version for the tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8565
| * | FindPython: add capability to select python version for the testsMarc Chevrier2023-06-1519-379/+501
| | |
* | | Merge topic 'cmuvprocesschain-external-stream-fd'Brad King2023-06-152-21/+127
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | b65d54e876 cmUVStreambuf: Update URL for example code 0878306386 cmUVStream: Add cmUVStreamRead() function b8fd273ed7 cmUVProcessChain: Return output and error streams as file descriptors ec81d40be4 cmUVPipeIStream: Add cmUVPipeIStream 3b6c5efc08 cm::append: Add support for std::basic_string on SPARC/SunPro Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8559
| * | cmUVStream: Add cmUVStreamRead() functionKyle Edwards2023-06-141-0/+57
| | |
| * | cmUVProcessChain: Return output and error streams as file descriptorsKyle Edwards2023-06-141-21/+30
| | |
| * | cmUVPipeIStream: Add cmUVPipeIStreamKyle Edwards2023-06-141-0/+40
| | |
* | | Merge topic 'cross-compiling-emulator-env-var'Brad King2023-06-143-0/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7005dea005 CrossCompiling: Load CMAKE_CROSSCOMPILING_EMULATOR from environment Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8543
| * | | CrossCompiling: Load CMAKE_CROSSCOMPILING_EMULATOR from environmentMatt McCormick2023-06-133-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Read `CMAKE_CROSSCOMPILING_EMULATOR` from an environment variable of the same name if not specified with `-D` or an initial cache value. Along with existing environment variable settings such as `CMAKE_TOOLCHAIN_FILE`, cross compilation configuration can be more completely set via environment variables. Suggested-by: Henry Schreiner <henryschreineriii@gmail.com>
* | | | Drop Visual Studio 11 2012 generatorBrad King2023-06-135-30/+0
| |/ / |/| | | | | | | | This generator has been deprecated since CMake 3.25. Remove it.
* | | Merge topic 'cmuvprocesschain-input-file'Brad King2023-06-132-0/+34
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e329704546 cmUVProcessChain: Add support for SetExternalStream(Stream_INPUT) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8552
| * | | cmUVProcessChain: Add support for SetExternalStream(Stream_INPUT)Kyle Edwards2023-06-122-0/+34
| | | |
* | | | Merge topic 'test-no-git'Brad King2023-06-132-5/+7
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | | | | 15d9d591bd Tests: Require git to enable RunCMake.CMP0150 test 0c2610bd30 Tests: Find GIT_EXECUTABLE early enough to use in all tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8556
| * | Tests: Require git to enable RunCMake.CMP0150 testBrad King2023-06-121-1/+4
| | | | | | | | | | | | | | | | | | The test added by commit 550f63447d (ExternalProject/FetchContent: Support relative remote URLs, 2023-04-21, v3.27.0-rc1~156^2) covers Git-specific functionality, and requires a `git` tool to be available.
| * | Tests: Find GIT_EXECUTABLE early enough to use in all testsBrad King2023-06-121-4/+3
| | | | | | | | | | | | Some tests work only if a `git` executable is available.
| * | Merge topic 'add_test-empty-args' into release-3.27Brad King2023-06-123-0/+24
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1df3287bf6 add_test: Restore support for empty test arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8551
* | \ \ Merge topic 'add_test-empty-args'Brad King2023-06-123-0/+24
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 1df3287bf6 add_test: Restore support for empty test arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8551
| * | | add_test: Restore support for empty test argumentsMarc Chevrier2023-06-093-0/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | This was regressed by refactoring in commit e08ba229ee (CMake code rely on cmList class for CMake lists management (part. 1), 2023-04-14, v3.27.0-rc1~174^2). Fix it and add a test case. Fixes: #24986
* | | Merge topic 'cmuvprocesschain-spawn-result'Brad King2023-06-092-64/+203
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 891b60d691 cmUVProcessChain: Add Status::SpawnResult field 5be0cd9f3c cmUVProcessChain: Manually create pipes between processes bb5ec5c9b4 cmUVProcessChain: Do some internal refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8542
| * | | cmUVProcessChain: Add Status::SpawnResult fieldKyle Edwards2023-06-082-64/+203
| |/ /
* | | Merge topic 'Makefiles-safer-COLOR-usage'Brad King2023-06-092-0/+15
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 8195aa3026 Makefiles: quote `$(COLOR)` expansions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8548
| * | Makefiles: quote `$(COLOR)` expansionsBen Boeckel2023-06-082-0/+15
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handles the case where `COLOR` is set to some ANSI-like color sequence in the ambient environment. These sequences tend to include `;` which terminates the command and tries to use the next component (typically an integer, possibly with a trailing `m`) with errors like: /bin/sh: line 1: 2: command not found /bin/sh: line 1: 255: command not found /bin/sh: line 1: 221: command not found /bin/sh: line 1: 255m: command not found Also add a test that sets `COLOR` in the environment which affects the generated Makefiles behavior. See: https://discourse.cmake.org/t/cmake-failing-gcc-compiler-checks/8277
* | Add deprecation warnings for policies CMP0120 and belowBrad King2023-06-0727-20/+302
|/ | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.20 and below to encourage projects to port away from setting policies to OLD.
* Merge topic 'verify-interface-header-sets-skip-linting'Kyle Edwards2023-06-063-0/+9
|\ | | | | | | | | | | | | 36ec89639a VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8540
| * VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTINGKyle Edwards2023-06-063-0/+9
| | | | | | | | Fixes: #24972
* | Merge topic 'apple-clang-asm-compiler-id'Brad King2023-06-061-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 8c789bee83 AppleClang: Fix ASM compiler identification Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8537
| * | AppleClang: Fix ASM compiler identificationGregor Jasny2023-06-051-1/+1
| | | | | | | | | | | | | | | Recent AppleClang compilers identify themselves as `Apple clang version 14.0.3 (clang-1403.0.22.14.1)`.
* | | Merge topic 'Apple-tbd-runpath-handling'Brad King2023-06-062-1/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bfa5b430b3 Apple text-based stubs: ensure runpath is correctly defined Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8536
| * | | Apple text-based stubs: ensure runpath is correctly definedMarc Chevrier2023-06-042-1/+9
| |/ / | | | | | | | | | This is a complement to !8204.