Brad King
ddefed68e5
Merge topic 'CheckCompilerFlags-revert-linker-warnings' into release-3.23
...
4941887d7d CheckCompilerFlags: Revert "Catch linker warning about ignored flags"
c2341ece47 CheckLinkerFlag: Catch linker warning when the checked flag is ignored
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7190
2022-04-22 08:55:56 -04:00
Brad King
32eba762be
Merge topic 'wrong-header-referenced-in-guide' into release-3.23
...
27589da705 Help/guide: Fix wrong header file reference
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7196
2022-04-22 08:54:23 -04:00
Martin Duffy
27589da705
Help/guide: Fix wrong header file reference
...
Step 2 references mysqrt.h instead of MathFunctions.h.
MathFunctions/mysqrt.h doesn't exist until Step 9.
2022-04-21 14:25:06 -04:00
Brad King
7717848f9e
Merge topic 'FindPython-pypy-v7.3.9-support' into release-3.23
...
5440eafaae FindPython: Add support for pypy v7.3.9 and uppers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7189
2022-04-21 11:50:27 -04:00
Brad King
c4f35d4077
Merge topic 'file-set-build-export' into release-3.23
...
9ee47188c0 cmExportBuildFileGenerator: handle genex-wrapped source paths
60fab8a6e0 cmInstallCommand: tweak error message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7182
2022-04-21 11:49:39 -04:00
Brad King
4941887d7d
CheckCompilerFlags: Revert "Catch linker warning about ignored flags"
...
Revert commit f745e0497e (CheckCompilerFlags: Catch linker warning about
ignored flags, 2022-01-03, v3.23.0-rc1~174^2). It regressed cases where
incidental linker warnings were previously tolerated. Revert the change
pending further investigation.
Fixes : #23432
Issue: #22961
2022-04-21 11:36:21 -04:00
Brad King
c2341ece47
CheckLinkerFlag: Catch linker warning when the checked flag is ignored
...
Prior to commit 219dde4ea8 (CheckPIESupported: now uses any SYSROOT settings,
2022-01-16, v3.23.0-rc1~110^2), the checks for `-pie` and `-no_pie` on macOS
failed due to executing the compiler directly without any `-isysroot`,
producing `ld: library not found for -lc++`. See issues #23053 and #19180 .
The failing check for `-pie` was a bug because it is supported on macOS,
both for `x86_64` and `arm64`, and the commit fixed that check.
However, `-no_pie` is not supported on macOS `arm64`. The above commit was
only able to detect that due to commit f745e0497e (CheckCompilerFlags: Catch
linker warning about ignored flags, 2022-01-03, v3.23.0-rc1~174^2), which we
need to revert due to issue #23432 . Instead, catch only the linker warning
about the exact flag being checked.
2022-04-21 11:35:30 -04:00
Brad King
75d2faae52
Merge topic 'target-runtime-dlls-doc' into release-3.23
...
692aacfc72 Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> doc
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7186
2022-04-20 11:29:09 -04:00
Marc Chevrier
5440eafaae
FindPython: Add support for pypy v7.3.9 and uppers
...
Library name versioning has changed.
Fixes : #23439
2022-04-20 15:29:50 +02:00
Kyle Edwards
692aacfc72
Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> doc
2022-04-19 12:45:22 -04:00
Ben Boeckel
9ee47188c0
cmExportBuildFileGenerator: handle genex-wrapped source paths
...
Previously a fileset with `$<$<CONFIG:Debug>:some_file>` would show up
as-is (with escaping) in the build directory export. Instead, evaluate
all fileset entries as generator expressions and list them as they are
similar to the installation information.
2022-04-18 13:43:18 -04:00
Ben Boeckel
60fab8a6e0
cmInstallCommand: tweak error message
...
Not all filesets need to be installed; just those that are visible on
the target's interface. Clarify the error message.
2022-04-15 20:44:53 -04:00
Brad King
33c6d01e82
Merge topic 'CPackIFW-extra-dot' into release-3.23
...
331c5d458e CPackIFW: Fix regression in icon file names
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Erlend E. Aasland <erlend.aasland@innova.no >
Merge-request: !7174
2022-04-15 08:24:48 -04:00
Brad King
475d6ab002
Merge topic 'file-set-generated-dependency' into release-3.23
...
d0d09aa29f FILE_SET: Make INTERFACE libraries with HEADER_SETS participate in buildsystem
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Acked-by: Gabriel Nützi <gnuetzi@gmail.com >
Merge-request: !7173
2022-04-15 08:23:56 -04:00
Jean-Philippe Lebel
331c5d458e
CPackIFW: Fix regression in icon file names
...
Changes in commit 761b6e2466 (CPackIFW: Avoid colliding names for icons
/ logos, 2021-10-08, v3.23.0-rc1~546^2) accidentally left an extra `.`
in computed file names. Remove it.
Fixes : #23423
2022-04-14 09:45:35 -04:00
Brad King
5b2e097fbf
Merge topic 'ci-cmake-update' into release-3.23
...
ca4d5d366d ci: use CMake 3.23.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7172
2022-04-14 09:22:34 -04:00
Kyle Edwards
d0d09aa29f
FILE_SET: Make INTERFACE libraries with HEADER_SETS participate in buildsystem
...
If an INTERFACE library has HEADER_SETS, and its header sets contain
files generated by a custom command, the library needs to participate in
the buildsystem so that the files will be generated.
Fixes : #23422
2022-04-14 09:17:54 -04:00
Brad King
ca4d5d366d
ci: use CMake 3.23.1
2022-04-12 13:15:15 -04:00
Brad King
efe08e2894
CMake 3.23.1
v3.23.1
2022-04-12 10:06:39 -04:00
Brad King
56a11b2f64
Merge topic 'file-set-repr-improvements' into release-3.23
...
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:25 -04:00
Brad King
22563164a8
Merge branch 'release-3.22' into release-3.23
2022-04-12 09:50:19 -04:00
Brad King
07d351b535
CMake 3.22.4
v3.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
Brad King
8fd65bef7d
Merge topic 'doc-CheckPIESupported' into release-3.23
...
91c859d1e5 CheckPIESupported: Prevent separate output lines running together
ab5455aa79 Help: Correct/add missing details for CheckPIESupported
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7157
2022-04-12 08:18:09 -04:00
Brad King
b77fd6da49
Merge topic 'FindPostgreSQL-14' into release-3.23
...
23671318f3 FindPostgreSQL: add support for PostgreSQL 14
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7158
2022-04-12 08:17:15 -04:00
Brad King
4135d726d4
Merge topic 'correct_list-presets_parsing' into release-3.23
...
45299a8f9b cmake: --list=presets=[type] doesn't generate incorrect warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7164
2022-04-12 08:16:00 -04:00
Brad King
569e8a1361
Merge branch 'release-3.22' into release-3.23
2022-04-12 08:12:20 -04:00
Brad King
5ac0c541b4
Merge branch 'xcode-pch' into release-3.22
...
Merge-request: !7166
2022-04-12 08:11:58 -04:00
Brad King
4471f2b0d7
Merge topic 'xcode-pch' into release-3.23
...
476c6a8910 PCH: Fix Xcode non-pch language exclusion
fcf1fcfd0c Tests: Ignore all classes in Xcode internal objc warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7166
2022-04-12 08:10:47 -04:00
Cristian Adam
476c6a8910
PCH: Fix Xcode non-pch language exclusion
...
Fix a regression caused by commit bbcdac4e5d (PCH: Fix all-language
precompile header support in Xcode, 2021-08-07, v3.22.0-rc1~140^2).
Fixes : #23138
2022-04-11 14:16:33 -04:00
Gregor Jasny
fcf1fcfd0c
Tests: Ignore all classes in Xcode internal objc warnings
...
Xcode on Apple Silicon warns not only about AMSupportURL classes
but also many more.
2022-04-11 14:15:52 -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
Ben Boeckel
05783b168d
cmFileSet: store visibility with the fileset
...
The visibility is intrinsic to the fileset, so store it with it. This
avoids recalculating it on every addition to the fileset.
2022-04-11 13:41:40 -04:00
Robert Maynard
45299a8f9b
cmake: --list=presets=[type] doesn't generate incorrect warnings
...
Fixes #23407
2022-04-11 10:46:03 -04:00
Craig Scott
91c859d1e5
CheckPIESupported: Prevent separate output lines running together
2022-04-11 09:06:37 -04:00
Craig Scott
ab5455aa79
Help: Correct/add missing details for CheckPIESupported
2022-04-11 09:06:37 -04:00
Even Rouault
23671318f3
FindPostgreSQL: add support for PostgreSQL 14
2022-04-11 09:00:18 -04:00
Brad King
4515d82088
Merge topic 'check-flag-fembed-bitcode-conflict' into release-3.23
...
a10fc754a6 CheckSourceCompiles: Avoid linker warning with -fembed-bitcode
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7156
2022-04-11 08:50:57 -04:00
Craig Scott
a10fc754a6
CheckSourceCompiles: Avoid linker warning with -fembed-bitcode
...
When the Apple linker sees -headerpad_max_install_names and
bitcode is enabled with a flag like -fembed-bitcode, it issues a warning
and ignores the -headerpad_max_install_names flag. This causes
unrelated compiler and linker flag checks to fail for valid flags.
In f745e0497e (CheckCompilerFlags: Catch linker warning about ignored
flags, 2022-01-03), we started detecting linker warnings, which caused
a regression for projects that were setting -fembed-bitcode in their
CMAKE_CXX_FLAGS or similar. Prevent that regression by removing
the -headerpad_max_install_names linker flag when we know it will
warn and be ignored anyway.
Fixes : #23390
Issue: #23408
2022-04-09 21:51:09 +10:00
Brad King
c6ee02fc8d
Merge topic 'CheckCompilerFlag-restore-env' into release-3.23
...
9dd585d12c CheckCompilerFlag: Fix regression in locale environment preservation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7153
2022-04-08 08:58:29 -04:00
Brad King
605c27a11e
Merge branch 'release-3.22' into release-3.23
2022-04-08 08:53:41 -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
9dd585d12c
CheckCompilerFlag: Fix regression in locale environment preservation
...
Fix a typo from commit 660e0d80ae (internal/CheckCompilerFlag: rely on
common configuration, 2022-01-12, v3.23.0-rc1~124^2~1) that caused
locale environment variables to not be restored after they are set
during the check.
2022-04-07 15:07:48 -04:00
Brad King
e9236b6641
Merge topic 'header-sets-no-framework' into release-3.23
...
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:29 -04:00
Brad King
8242631e63
Merge branch 'doc-qhelpgenerator' into release-3.22
...
Merge-request: !7150
2022-04-07 10:03:59 -04:00
Brad King
bf69fa32c4
Utilities/Sphinx: Update qthelp generation to qhelpgenerator
...
`qcollectiongenerator` is deprecated in favor of `qhelpgenerator`.
2022-04-07 09:37:37 -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
8f8c3e652c
Merge branch 'release-3.22' into release-3.23
2022-04-06 13:03:44 -04:00
Brad King
76632f9f47
Merge topic 'ci-cmake.org-help' into release-3.23
...
b691906d27 gitlab-ci: Build qthelp-format release documentation for cmake.org
1ceec19c20 gitlab-ci: Add objects.inv to cmake.org html documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7146
2022-04-06 13:02:37 -04:00