| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This was missed in commit 25b947589a (Modules: Guard calls to
pkg_check_modules, 2024-08-07, v3.31.0-rc1~236^2).
|
|
|
|
|
|
|
|
|
|
| |
Re-introduce the behavior originally introduced in CMake 3.30.3 by
commit c1ece78d11 (project: non cache <project> prefix variables are
also created, 2024-08-27, v3.30.3~2^2), but this time with a policy for
compatibility.
Issue: #25714
Issue: #26243
|
|
|
|
|
|
|
| |
A positional option allows 'cmake --workflow --preset <preset>' to be
shortened to 'cmake --workflow <preset>'.
Fixes: #26270
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
5d2b89d5fa Add CMAKE_HOST_EXECUTABLE_SUFFIX for Unix/Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: shiz01 <shiz01@tutanota.com>
Merge-request: !9863
|
| |
| |
| |
| | |
Closes: #17553
|
|/
|
|
| |
Fixes: #26335
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will now preserve empty values in the TEST_LAUNCHER and
CROSSCOMPILING_EMULATOR target properties for tests added by:
- The add_test() command.
- The ExternalData_Add_Test() command from the ExternalData module.
- The gtest_add_tests() or gtest_discover_tests() commands from the
GoogleTest module.
For the gtest_add_tests() and gtest_discover_tests() commands,
empty elements in the values passed after the EXTRA_ARGS keyword
are also now preserved.
Policy CMP0178 is added to provide backward compatibility with the
old behavior where empty values were silently discarded from the
above cases.
Fixes: #26337
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
38390245a2 ctest: Require minimum TLS 1.2 by default
5e1a59dc2b file(DOWNLOAD/UPLOAD): Require minimum TLS 1.2 by default
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9848
|
| |
| |
| |
| | |
Issue: #25701
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
7abd3137b7 Linking: Optionally reorder direct dependencies from LINK_LIBRARIES
9285a9dc9a cmComputeLinkDepends: Add final dependency ordering to debug output
f792db4ca2 cmComputeLinkDepends: Add undocumented per-target debug property
80b469a51d cmComputeLinkDepends: Factor out string literals as named constants
3bd73fcc76 cmComputeLinkDepends: Modernize member initialization
8db69c767b cmComputeLinkDepends: Remove redundant member
dccdd030cd cmComputeLinkDepends: Replace depender index sentinel value with cm::optional
6c9d8dc243 cmComputeLinkDepends: Replace group index sentinel value with cm::optional
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9835
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Traditionally CMake generates link lines by starting with the direct
link dependencies specified by `LINK_LIBRARIES` in their original order
and then appending indirect dependencies that the direct dependencies
do not express. This gives projects control over ordering among
independent entries, which can be important when intermixing flags
and libraries, or when multiple libraries provide the same symbol.
However, it may also result in inefficient link lines.
Add support for an alternative strategy that can reorder direct link
dependencies to produce more efficient link lines. This is useful
for projects that cannot easily specify their targets' direct
dependencies in an order that satisfies indirect dependencies.
Add a `CMAKE_LINK_LIBRARIES_STRATEGY` variable and corresponding
`LINK_LIBRARIES_STRATEGY` target property to select a strategy.
Fixes: #26271
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
4e62bc943c ctest: Verify TLS server certificate by default
8e92ee34f6 file(DOWNLOAD/UPLOAD): Verify TLS server certificate by default
dcaea54898 cmCTestCurl: Clarify names and logic using optional<bool>
03d37ae3ff cmFileCommand: Clarify names and logic using optional<bool>
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9843
|
| |/
| |
| |
| | |
Issue: #23608
|
|/
|
|
|
|
| |
Report them in `CMAKE_<LANG>_HOST_COMPILER_{ID,VERSION}` variables.
Fixes: #20901
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The file generated by install(EXPORT) computes _IMPORT_PREFIX
in a way that assumes a normalized path. If the DESTINATION
contains any ../ components, the computed _IMPORT_PREFIX
would be wrong. Force the DESTINATION path to be normalized,
subject to the new CMP0176 policy.
Also normalize all other DESTINATION paths for consistency,
except for INCLUDES DESTINATION, which is not strictly a
destination but rather a search path to add.
Fixes: #26252
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows is heading toward making UTF-8 the preferred MBCS. As CMake's
internal encoding, `UTF-8` is effectively equivalent to `NONE`, which
was CMake's behavior prior to 3.15's accidental change to `AUTO`.
Behavior of `ENCODING UTF-8` is independent of CMake's internal
encoding, making it in principle a better default than `NONE`.
Add policy CMP0176 for compatibility and to document the default's
history.
Fixes: #26262
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
4a11772618 GenEx: Limit TARGET_PROPERTY transitive closure optimization to subgraphs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !9789
|
| |
| |
| |
| | |
Fixes: #25728
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ec519f3e97 add_custom_command: Validate arguments more rigorously
8dc8be0884 AndroidTestUtilities: Remove DEPENDS that was being silently ignored
316840b430 Tests: Add missing POST_BUILD to custom commands
f5f80305ef ExternalProject: Ensure keywords requiring an argument have one
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9785
|
| |/
| |
| |
| |
| |
| |
| | |
Add a new CMP0175 policy to preserve backward compatibility
for projects that were using unsupported keywords or arguments.
Fixes: #26096, #21089, #18976
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
b151bcfc9e WindowsKernelModeDriver: Add WDK include and link paths on MSVC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9705
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Detect Windows Kernel-Mode Driver include directories and library search
paths from the WDK command-line environment. Require toolchain files to
specify the KMDF target version via a new variable.
Since this changes the behavior of the WindowsKernelModeDriver
experimental feature, update its UUID.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
e77655555c cmExperimental: gate build database support behind a flag
23cbeb5035 ci: enable `build_database` CXXModules tests
6863c1d823 Tests/CXXModules: add tests for module commands
123107c1a4 Tests/CXXModules: add support for running targets under a given config
438038b5e1 Tests/CXXModules: support building specific targets of example trees
84bc710d84 cmGlobalGenerator: generate build database files for targets
670f753f24 cmDyndepCollation: write build database metadata
dcf9a66ffe cxxmodules: plumb control data for exporting build databases
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9708
|
| |
| |
| |
| |
| |
| | |
This includes the target property, its initializing variable, its
initializing environment variable, and updating related docs to mention
the new bits.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
20e9b59d5e Linking: Add CMAKE_LANG_STANDARD_LINK_DIRECTORIES
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9707
|
| |
| |
| |
| | |
Closes: #18222
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ceeea4e511 cmake_parse_arguments: Set variable if empty string given after keyword
2f5cc6afa1 cmParseArgumentsCommand: Use cmStrCat() for string concatenation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9748
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a single-value keyword is followed by an empty string, the
command unsets the variable for that keyword instead of setting
it to the empty string. This is inconsistent and unexpected. Add
policy CMP0174 which ensures the variable for a single-value
keyword is always set when any value is given, not just for a
non-empty value.
The new CMP0174 policy only affects the PARSE_ARGV form of
cmake_parse_arguments. The older form silently drops all empty
string arguments before processing the argument list.
Fixes: #25972
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| | |
1df94443fe fileapi: Add support for user-wide queries
a991a5019b Tests: Isolate test suite from user-wide configuration
320b81847d Tests: Remove unused cvs anonymous access credentials
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9744
|
| |
| |
| |
| | |
Fixes: #19168
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
bc5cddbea7 Help: Clarify role and importance of penv{} preset macro
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9738
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Preset environment variables are always set to the exact value
specified. The `$penv{}` macro can be used to refer to the parent
environment value to append or prepend to it.
Fixes: #26216
|
|/
|
|
| |
Fixes: #20446
|
|\
| |
| |
| |
| |
| |
| | |
d03bb13839 Help: version 3.16 added cmake --log-level
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9711
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
31c0e0de49 presets: Add graphviz support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9691
|
| |
| |
| |
| | |
Closes: #22164
|
|/
|
|
|
|
|
|
| |
* Wraps the llpkgc parser with cmPkgConfigParser
* Adds various resolution and mangling code under cmPkgConfigResolver
* Documents new command cmake_pkg_config(EXTRACT). Documentation is written with
the assumption additional subcommands will be added soon.
* Adds various tests for the above
|
|\
| |
| |
| |
| |
| |
| |
| | |
c55239e286 cmake: Add flag to list cache entries matching a regex
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9644
|
| |
| |
| |
| |
| |
| | |
Add a `-LR[A][H] <regex>` flag with similar functionality to `-L[A][H]`,
but instead of listing all cached variables, it show only specific
variables that match the name regex.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
d588e81ffb CPack/WIX: Generate perMachine installers by default
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9672
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add policy CMP0172 to set `CPACK_WIX_INSTALL_SCOPE` to `perMachine` by
default. Follow up commit 60661f6770 (CPack/WiX: Make InstallScope
configurable, 2023-11-07, v3.29.0-rc1~413^2) and commit 614100dbf6
(CPack/WiX: Restore default (missing) InstallScope from 3.28 and lower,
2024-06-05, v3.30.0-rc1~7^2~1).
Issue: #20962
Issue: #26029
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
d27fe9dfba AIX: Add option to archive shared libraries
98013ad1ca cmXCOFF: Add support for editing binary inside an archive
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9606
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Add option `CMAKE_AIX_SHARED_LIBRARY_ARCHIVE`.
There will no versions for the shared objects when this option is used.
Closes: #26033
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
159ba027b9 Install: Add parallel installation option
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9611
|
| |/
| |
| |
| | |
Fixes: #26000
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
68cd5281e4 WASI: Add platform modules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9659
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add minimal platform modules to support toolchain files like those in
* https://github.com/WebAssembly/wasi-sdk
or direct use of `-DCMAKE_SYSTEM_NAME="WASI"`
Fixes: #19223
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
723e236224 Help: Move deprecated modules and variables to dedicated sections
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9651
|