| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
7d2cc6ece6 presets: Allow comments in presets files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9608
|
| |
| |
| |
| |
| | |
Co-authored-by: Kanaiym <abdigak@clarkson.edu>
Fixes: #22791
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix tests
Fixes: #21445
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add support for Multi-Arch in control files of Debian packages.
Valid values: same, foreign, allowed
Fixes: #21445
|
| |/
| |
| |
| | |
Add hints for newbies. Fix typos.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| |
| |
| |
| | |
The RunCMake.AutogenQtX tests occasionally time out so separate
`RunCMake.AutogenQtX` tests.
Example: https://open.cdash.org/tests/1583599782
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| | |
Fixes: #26041
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | | |
Fixes: #26046
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
576567f028 Link feature attributes: stabilization
5617c34c31 Libraries processing: update configuration wording
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9607
|
| | |
| | |
| | |
| | |
| | | |
* enhance OVERRIDE handling
* Update wording
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
| |
| |
| |
| |
| |
| | |
Look up the value of `CMAKE_CONFIGURATION_TYPES` only in the top level
directory.
Fixes: #26064
|
|\ \
| |/
| |
| |
| |
| |
| | |
b243c19986 Tests: Update expected results for Xcode 16
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9596
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Issue: #25468
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To properly test some functionality, tests may rely on not clearing
things like time stamps between cmake invocations. The RunCMake
infrastructure clears the build directory by default anyway, and
tests may individually ask for that to be disabled where needed.
The line being removed here was originally added to assist with
manually re-running individual tests locally outside the control of
RunCMake. That is no longer appropriate.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The -direct variants of the RunCMake.FetchContent tests were
meant to be using the same result, stdout and stderr files as the
non-direct tests. The -direct tests were specified in the wrong way
for that and ended up using no files at all, so they weren't testing
the full set of expected conditions. Use the test variant feature
provided by the RunCMake infrastructure instead, which is the
proper way to handle this sort of scenario.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
8a688e556e Help/dev: Add a CMake Testing Guide
7cc124d4b5 Help/dev: Move integration testing to a more-specific document
d9ab1fb5da Help/dev: Fix formatting in CMake Documentation Guide
aa3fffa4bb README: Drop outdated link on running CMake
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Juan Ramos <juan.ramos@kitware.com>
Merge-request: !9576
|
| |/
| |
| |
| |
| |
| |
| | |
Document how developers working on CMake itself may run the test suite
locally.
Fixes: #26001
|
| |
| |
| |
| |
| |
| |
| | |
The OLD behaviors of all policies are deprecated, but only by
documentation. Add an explicit deprecation diagnostic for policies
introduced in CMake 3.23 and below to encourage projects to port
away from setting policies to OLD.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
0f4d3664a9 CPack/NuGet: Build dependencies in groups
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9544
|
| |
| |
| |
| |
| |
| |
| | |
This allows particular frameworks to be targeted by
particular dependencies, and for empty dependency
groups to satisfy NuGet's framework-matching
requirements.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
7330121467 Fix crash in target-specific commands called from initial cache script
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9571
|
| | |
| | |
| | |
| | | |
Fixes: #26018
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7c516f7e28 file(): TOUCH, TOUCH_NOCREATE and MAKE_DIRECTORY accept empty lists
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9570
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Projects may be generating a list of files or directories to pass as arguments
to file(TOUCH), file(TOUCH_NOCREATE), or file(MAKE_DIRECTORY). Those
lists might end up being empty, so rather than requiring at least one item,
allow an empty list.
Fixes: #24897
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
0cc1b550dd ExternalProject,FetchContent: Avoid CMAKE_DISABLE_SOURCE_CHANGES error
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9569
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The file(MAKE_DIRECTORY) implementation checks whether a path is
allowed to be written to before it checks if it already exists. For the
scenario where a SOURCE_DIR is an existing directory within the main
project's source directory, this triggers a fatal error if
CMAKE_DISABLE_SOURCE_CHANGES is set to true for ExternalProject,
and some FetchContent scenarios. Therefore, add an explicit check for
existence first to avoid making such error-triggering calls.
Fixes: #21872
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
4cb5bb014d try_compile: Propagating top level includes into whole-project calls
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !9532
|
| |
| |
| |
| | |
Fixes: #24151
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
f588421b58 FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirements
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9556
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
FETCHCONTENT_FULLY_DISCONNECTED should only be set to true if
each dependency's source directory has already been populated.
Previously, this wasn't being checked, but now it is (subject to a new
policy).
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
4370fcf750 FetchContent: Deprecate FetchContent_Populate(depName)
bc70b458ad Help: Minor grammar improvements for FetchContent
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9552
|
| | |
| | |
| | |
| | |
| | | |
Projects should use FetchContent_MakeAvailable(depName)
instead. Policy CMP0169 provides backward compatibility.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
5bb7f8a4dd Swift: Use per-config module file locations in multi-config generators
b2e042d77a cmGeneratorTarget: Adopt Swift-related methods from the Ninja generator
45b3387c50 Tests/RunCMake/Swift: Enable more cases with Ninja Multi-Config
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9501
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Place `.swiftmodule` files a subdirectory named after the configuration.
Fixes: #25864
Fixes: #25997
- Swift/RunCMakeTest.cmake:
- CMP0157-OLD was enabled for Xcode, where it works.
- A test was added that verifies .swiftmodule's are generated into
separate directories with multi-config generators.
- Tests/SwiftOnly/CMakeLists.txt: tests were added that validate that
cross-subdirectory module dependencies (via target_link_libraries)
work.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also factor out testing that's common across Xcode and Ninja.* generators.
- Ninja expected output files were extended to accept directories named
after the configuration in paths.
- Tests that previously ran with Ninja were allowed to run with Ninja
Multi-Config.
- Swift/RunCMakeTest.cmake:
- Checks for conditions where little or no testing could be done
were moved to the top of the file, with return()s to limit nesting
of the remainder of the code ("Early bailouts").
- CMP0157 tests, which were being performed for all generators, were
factored out into a block at the top of the file.
- RunCMake_TEST_OPTIONS is set initially for all multi-config
generators and list(APPEND)'ed-to in each block() where it was previously
set() and unset().
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fa8c04b421 Tests/RunCMake/execute_process: Check STARTUPINFOW reserved members
d98df689ab Merge branch 'libuv-win-process-no-extra-stdio'
a590382850 libuv: win/spawn: disable extra-file-descriptor support not needed by CMake
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9541
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Verify that `execute_process` launches processes on Windows such that
`GetStartupInfoW` in the child does not populate `STARTUPINFOW` members
reserved for the MSVC C run-time.
Issue: #25996
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
c773d5b436 CMP0037: Restore diagnostic message for invalid ALIAS target names
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !9519
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
0dbf2c24bf Tests/RunCMake: Document how to write multi-step test cases
61a08b0856 Tests/RunCMake: Document commands/variables available to RunCMakeTest scripts
aebf6b8b29 Tests/RunCMake: Clarify documentation of platform-specific output matching
c2f8a6729f Tests/RunCMake: Rename "sub-test" terminology to "case"
0add7a802f Tests/RunCMake: Organize README as multiple sections
aff4dc47c4 Tests/RunCMake: Cross-reference README from main Tests/README
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9548
|