Craig Scott
d277d797de
Merge topic 'doc-find_package-restructure'
...
84e02be51c Help: Restructure the find_package() docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Brad King <brad.king@kitware.com >
Merge-request: !6542
2021-09-25 03:39:33 -04:00
Kitware Robot
c42a5a6d93
CMake Nightly Date Stamp
2021-09-25 00:01:17 -04:00
Brad King
2974ea7c3e
Merge topic 'irsl-intel-variants'
...
956160bb9a IRSL: Fix search for Windows redist files with Intel Classic compiler
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6557
2021-09-24 09:16:10 -04:00
Brad King
4e23745093
Merge topic 'mpi-cross'
...
0723b2c935 MPI: Add fallback detection code for MPI when cross compiling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6537
2021-09-24 09:15:17 -04:00
Brad King
6e6ad6e02e
Merge branch 'release-3.21'
2021-09-24 09:14:20 -04:00
Brad King
1f8b4afbce
Merge topic 'FindMatlab-r2021b'
...
a013404f43 FindMatlab: Add R2021b => 9.11 version
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6556
2021-09-24 09:14:20 -04:00
Brad King
afd4d25280
Merge topic 'FindMatlab-r2021b' into release-3.21
...
a013404f43 FindMatlab: Add R2021b => 9.11 version
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6556
2021-09-24 09:14:19 -04:00
Kitware Robot
d2541062bd
CMake Nightly Date Stamp
2021-09-24 00:01:17 -04:00
Brad King
956160bb9a
IRSL: Fix search for Windows redist files with Intel Classic compiler
...
The oneAPI icx/ifx compilers are under `.../windows/bin`.
The classic icl/ifort compilers are under `.../windows/bin/intel64`.
Add paths to the redist directory relative to both locations.
Fixes : #22673
2021-09-23 11:45:35 -04:00
Michael Hirsch
a013404f43
FindMatlab: Add R2021b => 9.11 version
...
R2021b released 09/22/2021.
2021-09-23 10:41:20 -04:00
Brad King
c5b91304ed
Merge topic 'iar-asm-deduplication'
...
b1727b8a7e IAR: ASM module code deduplication
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6553
2021-09-23 10:36:27 -04:00
Felipe Torrezan
b1727b8a7e
IAR: ASM module code deduplication
2021-09-23 10:35:06 -04:00
Brad King
e83a5f9cac
Merge topic 'vs2008-no-pch-flag'
...
a2b782bbc1 VS: Map /Y- flag to not use precompiled headers with VS 2008
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6548
2021-09-23 10:33:19 -04:00
Brad King
272d23579f
Merge topic 'matlab_versions_natural_sort'
...
2f43ba5073 FindMatlab: Sort available Matlab versions using natural comparison.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6555
2021-09-23 10:32:27 -04:00
Brad King
2452067fb2
Merge topic 'iar-rl78-xlink'
...
8954f93543 IAR: emit fatal message for RL78 XLINK
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6552
2021-09-23 10:31:25 -04:00
Brad King
54188c0e8c
Merge topic 'iar-riscv-binutils'
...
7c3684b356 IAR: fix assembler detection for RISC-V
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6551
2021-09-23 10:30:26 -04:00
Brad King
3f46b94e0a
Merge topic 'IAR-executable-suffix'
...
9254e7ddf2 IAR: Use same executable suffix as try_compile
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6546
2021-09-23 10:29:24 -04:00
Craig Scott
84e02be51c
Help: Restructure the find_package() docs
...
The explanation of the basic and full signatures was interwoven tightly
with that of the Module and Config search modes. Config mode is
supported by both signatures, which made the structure of the
command documentation a bit confusing.
Add a section at the start which unambiguously describes the two
modes, including the fallback functionality between them. Move the
text about this out of the basic signature section, leaving just a
description of the basic syntax with a note that it is supported by both
search modes. This makes the basic signature section more focused.
Drop the Module and Config mode parts of the titles for the basic and
full signature sections. Those are now more precisely covered by the
new opening section, so the Basic Signature and Full Signature sections
are now clearer in what they cover.
Swap the order of the Search Procedure and Version Selection sections
to improve the logical flow. Also add "Config Mode" to their titles to
make it clearer what they apply to. Add a note at the start of both
sections to highlight their relationship to the basic and full signatures.
2021-09-23 21:56:33 +10:00
Kitware Robot
efed2f8706
CMake Nightly Date Stamp
2021-09-23 00:01:16 -04:00
Luigi Fiorentini
a2b782bbc1
VS: Map /Y- flag to not use precompiled headers with VS 2008
2021-09-22 09:19:47 -04:00
Brad King
286bdad531
Merge topic 'rename-cmProp-in-cmValue'
...
59ad7a1c24 Move helpers functions from cmStringAlgorithms.h to cmValue.h
edf67dd039 cmValue: add IsInternallyOn methods
cc56dc7468 Rename cmProp in cmValue
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !6554
2021-09-22 09:10:39 -04:00
Craig Scott
b1745dcbca
Merge topic 'doc-build-config'
...
b8d10c27d1 Help: Restructure build type docs and clarify case sensitivity
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !6516
2021-09-22 08:20:08 -04:00
Vincent Newsum
2f43ba5073
FindMatlab: Sort available Matlab versions using natural comparison.
...
On Windows, when FindMatlab.cmake searches the registry for installed Matlab versions, it sorts these versions alphabetically.
Since Matlab 2021a (version 9.10) came out this became a problem as now version 9.10 is placed after 9.1 instead of after a higher version less than 9.10.
The result is that FindMatlab doesn't return the highest version by default.
This fix uses the natural sort comparison which was introduced in CMake 3.18.
2021-09-22 09:43:56 +02:00
Kitware Robot
60caed1bd6
CMake Nightly Date Stamp
2021-09-22 00:02:18 -04:00
Marc Chevrier
59ad7a1c24
Move helpers functions from cmStringAlgorithms.h to cmValue.h
...
Helpers functions related to cmValue semantic are now part of
cmValue.h header.
2021-09-21 18:11:00 +02:00
Marc Chevrier
edf67dd039
cmValue: add IsInternallyOn methods
2021-09-21 17:14:05 +02:00
Marc Chevrier
cc56dc7468
Rename cmProp in cmValue
2021-09-21 17:14:04 +02:00
Brad King
62834c0760
Merge topic 'macos-cache-rpath-install-namedir'
...
2266e223c5 macOS: Speed up rpath install name dir lookup with a cache
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6543
2021-09-21 11:06:25 -04:00
Brad King
b0b689d566
Merge topic 'cat_empty_file'
...
0b4a56e64b cmake: -E cat stops when an empty file is encountered
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !6539
2021-09-21 11:05:06 -04:00
Brad King
5fa9a65b1e
Merge topic 'tests-cpack-deb-non-linux'
...
b07812c6de Tests: fix RunCMake.CPack_DEB.EXTRA on Debian non-Linux OSes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6540
2021-09-21 11:04:13 -04:00
Brad King
af37066d35
Merge topic 'refactor-remove-cmToCStr-function'
...
3a1e6f5f59 remove cmToCStr function
dffa3f485c cmGlobalGenerator::PrintCompilerAdvice: use cmProp as augment
062432a6bc cmCurlSetCAInfo: use std::string as argument
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !6544
2021-09-21 11:03:19 -04:00
Brad King
4aeaf72fd6
Merge topic 'clang-manifest'
...
b73857561f Clang: embed windows manifests with GNU interface
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6534
2021-09-21 11:02:23 -04:00
Brad King
bcdd8cfe44
Merge topic 'platform-vars'
...
a136b6ec98 MINGW: Define variable only when targeting Windows platforms
39c5dad0cb Ninja: Remove redundant check for GNU-like compiler on Windows
0b7ae84a96 Cygwin: Remove redundant definitions of CYGWIN and UNIX variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !6538
2021-09-21 11:01:18 -04:00
Felipe Torrezan
8954f93543
IAR: emit fatal message for RL78 XLINK
2021-09-21 14:34:16 +02:00
Craig Scott
b8d10c27d1
Help: Restructure build type docs and clarify case sensitivity
...
Fixes : #22591
2021-09-21 22:23:24 +10:00
Felipe Torrezan
7c3684b356
IAR: fix assembler detection for RISC-V
2021-09-21 11:45:22 +02:00
Rainer Keller
9254e7ddf2
IAR: Use same executable suffix as try_compile
...
There was a mismatch in the executable suffix between the compiler
detection and try_compile. This resulted in the generated executable
having a different suffix than what try_compile was looking for.
The IAR module is changed to use the same suffix as try_compile.
Fixes : #22567
2021-09-21 07:54:26 +02:00
Kitware Robot
6261210a67
CMake Nightly Date Stamp
2021-09-21 00:01:14 -04:00
Brad King
b20980aa85
Merge branch 'release-3.21'
2021-09-20 13:30:38 -04:00
Brad King
7612abd52f
CMake 3.21.3
v3.21.3
2021-09-20 12:43:52 -04:00
Brad King
9abbfe33e2
Merge branch 'release-3.21'
2021-09-20 12:38:44 -04:00
Brad King
36966f63ca
Merge topic 'hip-no-hipcc'
...
cb93f72624 HIP: Simplify detection of HIP runtime CMake package
a71f0fc9c7 HIP: Remove ROMClang compiler id and use Clang directly
b125e9809a HIP: Detect ROCm path earlier
735f41fc2d HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Raul Tambre <raul@tambre.ee >
Acked-by: Axel Huebl <axel.huebl@plasma.ninja >
Merge-request: !6533
2021-09-20 12:38:44 -04:00
Brad King
bc0d6e61fd
Merge topic 'hip-no-hipcc' into release-3.21
...
cb93f72624 HIP: Simplify detection of HIP runtime CMake package
a71f0fc9c7 HIP: Remove ROMClang compiler id and use Clang directly
b125e9809a HIP: Detect ROCm path earlier
735f41fc2d HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURES
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: Raul Tambre <raul@tambre.ee >
Acked-by: Axel Huebl <axel.huebl@plasma.ninja >
Merge-request: !6533
2021-09-20 12:38:43 -04:00
Brad King
c03a216ca8
Merge branch 'release-3.21'
2021-09-20 12:23:19 -04:00
Brad King
e2b63802c6
Merge branch 'release-3.20' into release-3.21
2021-09-20 12:23:07 -04:00
Brad King
5b7651f9b7
Merge branch 'release-3.20'
2021-09-20 12:22:49 -04:00
Brad King
0d3bfda22a
CMake 3.20.6
v3.20.6
2021-09-20 11:28:01 -04:00
Lukas Böger
2266e223c5
macOS: Speed up rpath install name dir lookup with a cache
...
Fixes : #20602
2021-09-20 11:15:25 -04:00
Brad King
c179ab6491
Merge topic 'test-symlink'
...
6ea883d652 Tests: Avoid output when running symlink check
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6536
2021-09-20 10:02:25 -04:00
Kitware Robot
ed0139e606
CMake Nightly Date Stamp
2021-09-20 00:02:28 -04:00