Brad King
f6476ba3a6
Merge topic 'file-set-repr-improvements'
...
5fa15ec9f3 Help: Document that target_sources defines [INTERFACE_]HEADER_SETS
c5d4812f20 cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only
05783b168d cmFileSet: store visibility with the fileset
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7168
2022-04-12 10:05:26 -04:00
Brad King
e3e12e76f4
Merge branch 'release-3.22'
2022-04-12 09:49:53 -04:00
Brad King
07d351b535
CMake 3.22.4
2022-04-12 09:06:27 -04:00
Brad King
5fa15ec9f3
Help: Document that target_sources defines [INTERFACE_]HEADER_SETS
2022-04-12 08:47:45 -04:00
Ben Boeckel
c5d4812f20
cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only
...
There is no reason to allow these properties to be manipulated by user
code. Instead, use the stored visibility on the fileset objects to
derive what these properties should contain.
2022-04-11 14:06:15 -04:00
Brad King
de6038aaf4
Merge branch 'doc-qhelpgenerator' into release-3.23
...
Merge-request: !7150
2022-04-08 08:52:55 -04:00
Brad King
261b29bccc
Merge topic 'doc-qhelpgenerator'
...
bf69fa32c4 Utilities/Sphinx: Update qthelp generation to qhelpgenerator
37904abb58 Help: Add "Updates" section header in 3.22 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7150
2022-04-08 08:51:22 -04:00
Brad King
9a7d8394b1
Merge topic 'header-sets-no-framework'
...
f779f8c0ad FILE_SET: Forbid adding header sets to Apple FRAMEWORK libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Kyle Edwards <kyle.edwards@kitware.com >
Merge-request: !7149
2022-04-07 10:54:30 -04:00
Brad King
37904abb58
Help: Add "Updates" section header in 3.22 release notes
...
This was accidentally left out in commit 1461eff899 (Help: Add missing
3.22.1 section to the release notes, 2022-01-24, v3.22.2~1^2).
2022-04-07 09:33:03 -04:00
Kyle Edwards
f779f8c0ad
FILE_SET: Forbid adding header sets to Apple FRAMEWORK libraries
...
The feature needs a specialized implementation to place headers
in the right place inside frameworks. To avoid silently doing
the wrong thing, make this case an error for the 3.23 series.
Issue: #23386
2022-04-07 09:26:58 -04:00
Brad King
c8f912fa59
Merge topic 'FindJNI-targets'
...
00c4f488f2 FindJNI: support Android NDK
171d45c039 FindJNI: added components and imported targets
35e92ec619 FindJNI: improved description
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !7069
2022-04-07 09:11:56 -04:00
Brad King
c508935dad
Merge topic 'adsp-platform-and-compilers'
...
87142bbd5f ADSP: Add dedicated platform module
e9eabb0dcd ADSP: Configure compiler in compiler module
88b38f531a ADSP: Support both VDSP++ and CCES for ADSP compilers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7123
2022-04-06 12:04:43 -04:00
Brad King
2b4081660c
Merge topic 'FindMatlab-no-implicit-link'
...
178cf34bdc FindMatlab: Add NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES option to matlab_add_mex
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7139
2022-04-06 12:03:04 -04:00
Silvio
178cf34bdc
FindMatlab: Add NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES option to matlab_add_mex
2022-04-05 08:27:09 -04:00
Brad King
eea53ea0a9
Merge topic 'xcode-xcconfig'
...
53ca6edd8a xcode: add support for xcconfig files
183b6bbf51 Tests: Ignore all classes in Xcode internal objc warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7119
2022-04-05 08:24:28 -04:00
Sergiu Deitsch
171d45c039
FindJNI: added components and imported targets
2022-04-04 19:46:32 +02:00
Brad King
ffe699217c
Merge topic 'ci-package-uploads'
...
b20a19fca1 Merge branch 'backport-3.22-ci-package-uploads' into ci-package-uploads
cb44e0d47c gitlab-ci: distinguish release and development pipeline schedules
3a9a9a3ace gitlab-ci: clarify name of package upload job template
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7142
2022-04-04 13:41:28 -04:00
Brad King
b20a19fca1
Merge branch 'backport-3.22-ci-package-uploads' into ci-package-uploads
2022-04-04 13:26:19 -04:00
Brad King
cb44e0d47c
gitlab-ci: distinguish release and development pipeline schedules
...
Redefine the `CMAKE_CI_PACKAGE` pipeline schedule variable to
indicate whether it is for a development version (`dev`) or a
release version (`v[0-9]...`). Use this to automatically turn
package upload jobs on or off without having to edit the jobs
in `.gitlab-ci.yml` for release branches.
2022-04-04 13:23:37 -04:00
Chris Wright
87142bbd5f
ADSP: Add dedicated platform module
2022-04-04 17:05:09 +01:00
Chris Wright
e9eabb0dcd
ADSP: Configure compiler in compiler module
2022-04-04 16:56:47 +01:00
Chris Wright
88b38f531a
ADSP: Support both VDSP++ and CCES for ADSP compilers
2022-04-04 16:56:47 +01:00
Brad King
c7a1ccece9
Merge topic 'doc-CMP0112'
...
9993774172 Help: Clarify when policy CMP0112 takes effect
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7134
2022-04-04 09:26:58 -04:00
Brad King
7260208379
Merge topic 'doc-CMP0112' into release-3.23
...
9993774172 Help: Clarify when policy CMP0112 takes effect
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7134
2022-04-04 09:26:57 -04:00
Craig Scott
ce121e486c
Merge topic 'doc-install-typo'
...
7431759ebc Help: Fix typo in install command documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7140
2022-04-04 07:46:55 -04:00
Eugene Shalygin
7431759ebc
Help: Fix typo in install command documentation
2022-04-04 07:38:29 +10:00
Gregor Jasny
53ca6edd8a
xcode: add support for xcconfig files
...
Fixes : #18420
2022-04-03 22:39:34 +02:00
Brad King
9993774172
Help: Clarify when policy CMP0112 takes effect
...
Fixes : #23381
2022-04-01 10:06:04 -04:00
Craig Scott
b1c502ff94
Help: Add missing cross-reference in CMAKE_USER_MAKE_RULES_OVERRIDE
...
The language-specific variable references the general one already,
but the general one did not mention the language-specific one.
Add that cross reference to improve discoverability.
2022-04-01 08:22:40 +11:00
Brad King
4c5c9291bc
Merge topic 'help-variables-cmakecachefiledir-might-not-be-defined'
...
cf4100d7da Help: Add that CMAKE_CACHEFILE_DIR might not be defined
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7125
2022-03-31 08:49:06 -04:00
Brad King
bc1cde42d4
Merge topic 'help-variables-cmakecachefiledir-might-not-be-defined' into release-3.23
...
cf4100d7da Help: Add that CMAKE_CACHEFILE_DIR might not be defined
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7125
2022-03-31 08:49:05 -04:00
Brad King
025b86cc17
Merge topic 'help-json-length-empty-index'
...
2f0a3d43e1 Help: Fix string(JSON ... LENGTH ...) signature
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7126
2022-03-31 08:48:18 -04:00
Tobias Nießen
cf4100d7da
Help: Add that CMAKE_CACHEFILE_DIR might not be defined
...
CMake only sets `CMAKE_CACHEFILE_DIR` when writing `CMakeCache.txt`,
so the variable will usually be undefined when `CMakeLists.txt` runs.
Revise its documentation to clarify that `CMAKE_BINARY_DIR` should
be used instead.
2022-03-30 09:20:18 -04:00
Tobias Nießen
2f0a3d43e1
Help: Fix string(JSON ... LENGTH ...) signature
...
The list of indices and/or member names is optional, i.e., can be
empty. For example, string(JSON foo LENGTH "[0,0,0]") sets foo to 3.
2022-03-30 09:14:13 -04:00
Brad King
a7b325e203
Merge topic 'verify-header-sets'
...
c798744f81 FILE_SET: Add VERIFY_HEADER_SETS target property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7085
2022-03-30 09:10:25 -04:00
Kyle Edwards
c798744f81
FILE_SET: Add VERIFY_HEADER_SETS target property
...
Fixes : #23338
2022-03-29 13:58:27 -04:00
Brad King
1ccaaaf203
Merge topic 'set-env-var-first-run'
...
05e510bf0b CMP0132: Don't set compiler environment variables on first run
774a9eb210 Tests: Reorder CMP0129 test
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7108
2022-03-29 10:41:56 -04:00
Craig Scott
05e510bf0b
CMP0132: Don't set compiler environment variables on first run
...
When running CMake for the first time in a build tree, for some
generators CMake would set compiler environment variables
like CC, CXX, etc. when the corresponding language is enabled.
That behavior was never documented and can result in different
behavior between the first and subsequent runs. Add a policy
to no longer set those environment variables.
Fixes : #21378
2022-03-29 09:42:59 -04:00
Brad King
e3f2601a9d
Merge topic 'variable-link-feature-supported'
...
1777883f8b genex-LINK_(LIBRARY|GROUP) features: update variables behavior
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7113
2022-03-28 11:03:36 -04:00
Brad King
8cf6a64a42
Merge topic 'doc-cpack-ifw'
...
db774e9108 Help: Clean up and expand CPack/IFW docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7115
2022-03-28 10:52:31 -04:00
Craig Scott
db774e9108
Help: Clean up and expand CPack/IFW docs
2022-03-27 16:30:45 +11:00
Brad King
25b9fb0b1a
Merge topic 'link-interface-direct'
...
cf312a2e54 LINK_LIBRARIES: Add support for LINK_ONLY genex
41a6b4a53b INTERFACE_LINK_LIBRARIES_DIRECT: Honor link dependencies through LINK_ONLY
73337cb383 LINK_LIBRARIES: Evaluate separately for linking and usage requirements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7107
2022-03-25 09:12:39 -04:00
Brad King
96420a4afd
Merge topic 'cmake-fresh'
...
9f1471739d cmake: Add --fresh option to clear the cache and start from scratch
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !7099
2022-03-25 09:09:56 -04:00
Marc Chevrier
1777883f8b
genex-LINK_(LIBRARY|GROUP) features: update variables behavior
...
Variable CMAKE_LINK_(LIBRARY|GROUP)_USING_<FEATURE>_SUPPORTED is evaluated
only if CMAKE_<LANG>_LINK_(LIBRARY|GROUP)_USING_<FEATURE>_SUPPORTED is not defined.
This new behavior enable to activate a feature globally on a platform and to disable
it for some compilers and languages.
2022-03-25 12:29:28 +01:00
Brad King
cf312a2e54
LINK_LIBRARIES: Add support for LINK_ONLY genex
...
Previously we always used content guarded by `$<LINK_ONLY:...>`
in `LINK_LIBRARIES`, even when evaluating for non-linking usage
requirements. Add a policy to honor `LINK_ONLY` in `LINK_LIBRARIES`
the same way we already do in `INTERFACE_LINK_LIBRARIES`.
2022-03-24 08:23:55 -04:00
Kasper Laudrup
0b7fd783f8
cmake -E tar: Add --touch option
...
Similar to GNU tar add a --touch option to the tar extract command to
skip extracting the timestamps from the files in the archive
effectively touching them as if they were just created.
Issue: #22746
2022-03-23 14:41:34 +01:00
Brad King
4ee256d8eb
Merge topic 'better_cross-ref_CMAKE_FIND_NO_INSTALL_PREFIX'
...
7dc654a017 Help: Better cross-reference CMAKE_FIND_NO_INSTALL_PREFIX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7097
2022-03-23 09:34:42 -04:00
Brad King
6baef6784d
Merge topic 'better_cross-ref_CMAKE_FIND_NO_INSTALL_PREFIX' into release-3.23
...
7dc654a017 Help: Better cross-reference CMAKE_FIND_NO_INSTALL_PREFIX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7097
2022-03-23 09:34:41 -04:00
Brad King
00563063c0
Merge topic 'initialize-property-name'
...
26caa97057 define_property(): Change constraints of INITIALIZE_FROM_VARIABLE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7103
2022-03-23 09:32:11 -04:00
Brad King
c4d16c4964
Merge topic 'LINK_GROUP-feat-RESCAN-on-BSD-systems'
...
d658332782 Genex-LINK_GROUP: Add support feature RESCAN on BSD systems
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7104
2022-03-23 09:30:29 -04:00