Ben Boeckel
dcf9a66ffe
cxxmodules: plumb control data for exporting build databases
...
This includes the target property, its initializing variable, its
initializing environment variable, and updating related docs to mention
the new bits.
2024-08-27 12:37:36 -04:00
Brad King
d625e832ed
Merge topic 'cmake-parse-arguments-one-arg-empty-string'
...
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
2024-08-26 09:53:16 -04:00
Brad King
fe63f15383
Merge topic 'fileapi-config-dir'
...
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
2024-08-26 09:48:40 -04:00
Craig Scott
ceeea4e511
cmake_parse_arguments: Set variable if empty string given after keyword
...
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
2024-08-23 09:42:13 +10:00
Martin Duffy
1df94443fe
fileapi: Add support for user-wide queries
...
Fixes : #19168
2024-08-22 10:24:23 -04:00
Brad King
e2bde35870
Merge topic 'doc-preset-env'
...
bc5cddbea7 Help: Clarify role and importance of penv{} preset macro
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9738
2024-08-19 10:30:13 -04:00
Craig Scott
dd87640a22
CMakeFindFrameworks: Deprecate the module subject to policy CMP0173
...
Fixes : #20446
2024-08-16 11:10:27 +10:00
Benjamin Buch
bc5cddbea7
Help: Clarify role and importance of penv{} preset macro
...
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
2024-08-15 11:48:04 -04:00
Brad King
48c0b01197
Merge topic 'doc-log'
...
d03bb13839 Help: version 3.16 added cmake --log-level
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9711
2024-08-14 13:33:00 -04:00
Aliaksandr Averchanka
890bc3d2a2
presets: Fix graphviz support documentation
2024-08-10 23:09:44 +10:00
scivision
d03bb13839
Help: version 3.16 added cmake --log-level
2024-08-08 08:29:43 -04:00
Brad King
98c9e67a8d
Merge topic 'presets-graphviz'
...
31c0e0de49 presets: Add graphviz support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9691
2024-08-01 10:44:41 -04:00
Aliaksandr Averchanka
31c0e0de49
presets: Add graphviz support
...
Closes : #22164
2024-07-30 10:27:03 -04:00
Vito Gamberini
8555c33d92
PkgC: Add cmake_pkg_config(EXTRACT) command
...
* 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
2024-07-29 13:14:46 -04:00
Brad King
077691942a
Merge topic 'cmake-list-cached-variables'
...
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
2024-07-24 10:00:30 -04:00
Min Hsu
c55239e286
cmake: Add flag to list cache entries matching a regex
...
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.
2024-07-23 10:19:22 -04:00
Brad King
f36d09a0b8
Merge topic 'cpack-wix-per-machine'
...
d588e81ffb CPack/WIX: Generate perMachine installers by default
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9672
2024-07-22 10:17:57 -04:00
Brad King
a8d8f26828
Merge topic 'aix-archive-shared-libraries'
...
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
2024-07-19 09:55:58 -04:00
Brad King
d588e81ffb
CPack/WIX: Generate perMachine installers by default
...
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
2024-07-18 14:16:54 -04:00
Brad King
de8e176113
Merge topic 'parallel-install'
...
159ba027b9 Install: Add parallel installation option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9611
2024-07-18 09:04:47 -04:00
Aditya Vidyadhar Kamath
d27fe9dfba
AIX: Add option to archive shared libraries
...
Add option `CMAKE_AIX_SHARED_LIBRARY_ARCHIVE`.
There will no versions for the shared objects when this option is used.
Closes : #26033
2024-07-17 11:52:09 -04:00
Brad King
b3cd795e65
Merge topic 'wasi'
...
68cd5281e4 WASI: Add platform modules
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9659
2024-07-17 09:47:30 -04:00
Jacob Hummer
68cd5281e4
WASI: Add platform modules
...
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
2024-07-16 12:28:19 -04:00
Brad King
f31ff28294
Merge topic 'doc-mark-deprecated'
...
723e236224 Help: Move deprecated modules and variables to dedicated sections
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9651
2024-07-16 10:29:59 -04:00
權少
723e236224
Help: Move deprecated modules and variables to dedicated sections
...
These were missed in commit e0355c4ea9 (FindBoost: Add policy to remove
this module, 2024-05-03, v3.30.0-rc1~150^2) and commit 0aba13a2f3
(ctest: Add explicit options for TLS server verification, 2024-03-01,
v3.30.0-rc1~408^2~3).
2024-07-15 16:55:38 -04:00
Martin Duffy
159ba027b9
Install: Add parallel installation option
...
Fixes : #26000
2024-07-15 11:49:29 -04:00
Brad King
639346f319
Merge topic 'ios-mac-catalyst'
...
2785364b7b iOS: Add support for Mac Catalyst
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9595
2024-07-08 11:13:09 -04:00
Raul Metsma
2785364b7b
iOS: Add support for Mac Catalyst
...
Issue: #20132
Signed-off-by: Raul Metsma <raul@metsma.ee >
2024-07-03 11:15:45 -04:00
Brad King
40ed14a88b
Merge topic 'codegen'
...
197cb419d1 add_custom_command: Add CODEGEN support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9581
2024-07-02 08:18:04 -04:00
Juan Ramos
197cb419d1
add_custom_command: Add CODEGEN support
...
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.
2024-07-01 12:02:49 -04:00
Brad King
9ee9571b2e
Merge topic 'vs-framework-references'
...
0721f9bf0f VS: Add VS_FRAMEWORK_REFERENCES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9626
2024-06-27 11:22:43 -04:00
Brad King
d64e249ced
Merge topic 'fix-doc-manual-cmake-cxxmodules'
...
727d25152b Help: Fix typo in cmake-cxxmodules(7) note syntax
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !9625
2024-06-27 11:08:08 -04:00
Calum Robinson
0721f9bf0f
VS: Add VS_FRAMEWORK_REFERENCES
...
Fixes : #26082
2024-06-26 16:44:51 +01:00
權少
727d25152b
Help: Fix typo in cmake-cxxmodules(7) note syntax
...
Fix a typo from commit 5bbd2c12db (Help/cmake-cxxmodules: describe the
compilation strategy, 2024-03-26, v3.30.0-rc1~251^2~22).
2024-06-26 09:06:17 -04:00
Brad King
f879d3a33f
Merge topic 'preset-comments'
...
7d2cc6ece6 presets: Allow comments in presets files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9608
2024-06-26 08:45:17 -04:00
Aliaksandr Averchanka
7d2cc6ece6
presets: Allow comments in presets files
...
Co-authored-by: Kanaiym <abdigak@clarkson.edu >
Fixes : #22791
2024-06-24 15:42:46 -04:00
Marc Chevrier
576567f028
Link feature attributes: stabilization
...
* enhance OVERRIDE handling
* Update wording
2024-06-21 11:18:20 +02:00
Craig Scott
9299cbbdb4
FetchContent: Force cmake --fresh to re-execute direct population steps
...
Issue: #25468
2024-06-07 18:12:12 +10:00
Cristian Le
1ea780ea7c
Help: Clarify preset-specific macros
...
Closes : #26030
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de >
2024-06-06 08:51:16 -04:00
Craig Scott
833b880906
Merge topic 'doc-presets-cwd'
...
15950197b0 Help: Presets read by --preset must be in the source directory
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9568
2024-06-03 08:26:07 -04:00
Craig Scott
15950197b0
Help: Presets read by --preset must be in the source directory
...
Issue: #21911
2024-06-02 15:03:15 +10:00
Brad King
e0a11dfa24
Merge topic 'dep-provider-try_compile'
...
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
2024-05-31 09:20:27 -04:00
Brad King
679a3d9e6c
Merge topic 'enforce-fc-fully-disconnected-requirements'
...
f588421b58 FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9556
2024-05-30 10:13:29 -04:00
Craig Scott
4cb5bb014d
try_compile: Propagating top level includes into whole-project calls
...
Fixes : #24151
2024-05-30 19:01:03 +10:00
Brad King
54c9185b33
Merge topic 'deprecate-fetchcontent_populate'
...
4370fcf750 FetchContent: Deprecate FetchContent_Populate(depName)
bc70b458ad Help: Minor grammar improvements for FetchContent
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9552
2024-05-29 08:41:57 -04:00
Craig Scott
f588421b58
FetchContent: Enforce FETCHCONTENT_FULLY_DISCONNECTED requirements
...
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).
2024-05-29 20:39:17 +10:00
Craig Scott
4370fcf750
FetchContent: Deprecate FetchContent_Populate(depName)
...
Projects should use FetchContent_MakeAvailable(depName)
instead. Policy CMP0169 provides backward compatibility.
2024-05-29 18:52:24 +10:00
Brad King
5d93c421f1
HIP: Populate CMAKE_HIP_KNOWN_FEATURES global property
...
Fixes : #26013
2024-05-28 14:36:42 -04:00
Brad King
7b38a1dee7
Merge topic 'genex-compiler-frontend-variant'
...
af81b8667e GenEx: Add generator expr. for CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT
8a11a39c51 Help: Use correct programming language names in docs of generator expr.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9538
2024-05-24 10:31:52 -04:00
Brad King
1d519cf796
Merge topic 'ninja-parallel'
...
0e5250e63c Ninja: Add option for parallel install
daeb8fffa2 Help: Add Builtin Targets section to Ninja help
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9505
2024-05-24 10:29:57 -04:00