Commit Graph

50606 Commits

Author SHA1 Message Date
Brad King a9e2b18bf3 Merge topic 'android-stl'
4dca078829 Android: Link c++abi and android_support when necessary
738caa4d48 Android: Add options to control exceptions/rtti

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5444
2020-11-05 07:55:46 -05:00
Brad King d720cd847e Merge topic 'cmprop-source'
c7b50349de cmSourceFile::GetPropertyForUser: return cmProp

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5462
2020-11-05 07:54:03 -05:00
Craig Scott 73974d84c2 Merge topic 'abi-byte-order'
f511a1c009 CMakeDetermineCompilerABI: Detect byte order as part of check
606b34b3a6 CMakeDetermineCompilerABI: Look for more INFO strings in test binary

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Juan Ramos <juan.ramos@amd.com>
Acked-by: John Palmer <juanr0911@gmail.com>
Merge-request: !5460
2020-11-05 07:47:59 -05:00
Kitware Robot 1588e65f4c CMake Nightly Date Stamp 2020-11-05 00:01:07 -05:00
Haibo Huang 4dca078829 Android: Link c++abi and android_support when necessary
For older NDKs we used `__android_stl_lib` to link these libraries, but
the `CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED` code path does not use that.
Link the libraries the way the NDK toolchain file does:

  https://android.googlesource.com/platform/ndk/+/43b2de34ef9e3a70573fe51a9e069f985a4be5b9/build/cmake/android.toolchain.cmake#368
2020-11-04 14:21:26 -05:00
Haibo Huang 738caa4d48 Android: Add options to control exceptions/rtti
With the NDK's `android.toolchain.cmake`, the user can control whether
exceptions/rtti is enabled using `ANDROID_CPP_FEATURES`:

  https://android.googlesource.com/platform/ndk/+/43b2de34ef9e3a70573fe51a9e069f985a4be5b9/build/cmake/android.toolchain.cmake#548

Add `CMAKE_ANDROID_RTTI` and `CMAKE_ANDROID_EXCEPTIONS` to support that.
2020-11-04 14:18:03 -05:00
Vitaly Stakhovsky c7b50349de cmSourceFile::GetPropertyForUser: return cmProp
also fix GetSafeProperty() return type
2020-11-04 10:11:54 -05:00
Brad King f511a1c009 CMakeDetermineCompilerABI: Detect byte order as part of check
We already detect `sizeof(void*)`.  Detect the byte order as part of the
same check.

Issue: #21392
2020-11-04 10:08:13 -05:00
Brad King 606b34b3a6 CMakeDetermineCompilerABI: Look for more INFO strings in test binary
Explicitly use only the first occurrence of each matched INFO string
since previously we only extracted the first two anyway.
2020-11-04 09:45:28 -05:00
Brad King da0a7d28a4 Merge branch 'release-3.19' 2020-11-04 08:15:47 -05:00
Brad King c4b90f99c1 Merge topic 'cmake_path-deactivation'
1583d50feb Help: Move cmake_path release note from 3.19 to post-3.19 development
cd1c5a89a2 Merge branch 'backport-3.19-cmake_path-deactivation'
1c912056a1 cmake_path: remove new command from 3.19

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5459
2020-11-04 08:15:47 -05:00
Brad King 39f32f1210 Merge topic 'cmake_path-deactivation' into release-3.19
1c912056a1 cmake_path: remove new command from 3.19

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5459
2020-11-04 08:15:47 -05:00
Brad King 1583d50feb Help: Move cmake_path release note from 3.19 to post-3.19 development
The feature has been removed from the 3.19 branch, but has been kept in
post-3.19 development.  Move the release note accordingly.
2020-11-04 08:06:26 -05:00
Brad King cd1c5a89a2 Merge branch 'backport-3.19-cmake_path-deactivation'
The branch removes the `cmake_path` command from CMake 3.19, but we want
to keep it in post-3.19 development.  Merge using `-s ours`.
2020-11-04 08:06:04 -05:00
Brad King 78a5f29317 Merge topic 'FindPython-UNVERSIONED_NAMES'
e452f6e2cf FindPython: Adds control over artifact names to search

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5448
2020-11-04 07:56:08 -05:00
Kitware Robot 21ee7ea4e0 CMake Nightly Date Stamp 2020-11-04 00:01:07 -05:00
Marc Chevrier 1c912056a1 cmake_path: remove new command from 3.19
Defer adding this command until post-3.19 development so that it
has more time to mature before being included in a release.

Issue: #21385
2020-11-03 09:55:35 -05:00
Marc Chevrier e452f6e2cf FindPython: Adds control over artifact names to search
Fixes: #21371
2020-11-03 15:12:58 +01:00
Brad King 622ac065d2 Merge topic '19128_ICU_case_consistency'
ec23338187 FindICU: Improve case consistency in documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5452
2020-11-03 07:32:20 -05:00
Brad King eea24ca551 Merge topic 'cmprop-grl'
f808f27919 cmLocalGenerator::GetRuleLauncher: return cmProp

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5456
2020-11-03 07:31:03 -05:00
Brad King 7cef3fad02 Merge topic 'nmc-test-fix'
e0a7c0d40d Tests: Fix one RunCMake.NinjaMultiConfig case name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5447
2020-11-03 07:30:01 -05:00
Brad King 23d379674b Merge topic 'android-hooks'
707a06761f Android: add NDK hooks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5436
2020-11-03 07:27:13 -05:00
Brad King 855bdc586c Merge topic 'cmake-presets-no-path-arg-warning' into release-3.19
cb2d01c182 CMakePresets.json: Don't warn if no path argument is given

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5455
2020-11-03 07:24:25 -05:00
Brad King 2bce2b3a3e Merge branch 'release-3.19' 2020-11-03 07:24:25 -05:00
Brad King db02ccf406 Merge topic 'cmake-presets-no-path-arg-warning'
cb2d01c182 CMakePresets.json: Don't warn if no path argument is given

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5455
2020-11-03 07:24:25 -05:00
Brad King 48840e427e Merge branch 'release-3.19' 2020-11-03 07:22:55 -05:00
Brad King e8adc3654a Merge topic 'fix-cuda-qnx'
0832516bec Help: Add 3.19 release note about CUDA support on QNX
bcdd486bf7 CUDA: Enable support on QNX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !5446
2020-11-03 07:22:55 -05:00
Brad King 37d75e5fdd Merge topic 'fix-cuda-qnx' into release-3.19
0832516bec Help: Add 3.19 release note about CUDA support on QNX
bcdd486bf7 CUDA: Enable support on QNX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !5446
2020-11-03 07:22:54 -05:00
Craig Scott 84f2c9de5c Merge branch 'release-3.19' 2020-11-03 04:21:15 -05:00
Craig Scott 15578c465a Merge topic 'doc-cpack-pre-post-scripts' into release-3.19
b77dfa441f Help: Clarify variables specifying scripts to execute during packaging

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !5454
2020-11-03 04:21:15 -05:00
Craig Scott a18903a655 Merge topic 'doc-cpack-pre-post-scripts'
b77dfa441f Help: Clarify variables specifying scripts to execute during packaging

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !5454
2020-11-03 04:21:15 -05:00
Craig Scott b77dfa441f Help: Clarify variables specifying scripts to execute during packaging
Relates: #19077
2020-11-03 20:11:38 +11:00
Kitware Robot 1a1008c3f3 CMake Nightly Date Stamp 2020-11-03 00:01:05 -05:00
vvs31415 f808f27919 cmLocalGenerator::GetRuleLauncher: return cmProp 2020-11-02 13:07:46 -05:00
Brad King e0a7c0d40d Tests: Fix one RunCMake.NinjaMultiConfig case name
The CustomCommandGenerator `debug-in-release-graph-clean` case actually
cleans using the Debug graph.  This is intentional in order to test
cleaning only the Debug parts, so fix the test name rather than changing
what graph it uses.
2020-11-02 10:25:54 -05:00
Kyle Edwards cb2d01c182 CMakePresets.json: Don't warn if no path argument is given
If --preset is specified with no path argument, use the current
directory as the source directory, the preset's binaryDir as the
binary directory, and don't issue the standard warning for no path
specified.

Fixes: #21386
2020-11-02 09:46:08 -05:00
Brad King 91e826fd75 Merge branch 'release-3.19' 2020-11-02 09:43:34 -05:00
Brad King 81e27967d9 Merge topic 'FindBoost-config-mode' into release-3.19
685fa8bec0 FindBoost: Avoid leaking internal Boost_ROOT setting

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5445
2020-11-02 09:43:33 -05:00
Brad King fa60d56c87 Merge topic 'FindBoost-config-mode'
685fa8bec0 FindBoost: Avoid leaking internal Boost_ROOT setting

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5445
2020-11-02 09:43:33 -05:00
Brad King 0832516bec Help: Add 3.19 release note about CUDA support on QNX 2020-11-02 09:39:36 -05:00
janbernloehr bcdd486bf7 CUDA: Enable support on QNX
This fixes the following two issues with the CUDA support on QNX:

* cuda target name is not derived correctly (should be `aarch64-qnx`).
* linking `cudart` must not be linked against `rt`, `dl`, `pthread`.

This enables to use cmake's native cuda support on QNX.

Fixes: #21381
2020-11-02 09:39:36 -05:00
Kyle Edwards 89310efa4a Merge topic 'fix-test-for-qemu'
8c42cfb2e8 test/CMakeLib: make testUVProcessChain work with qemu

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5442
2020-11-02 09:31:08 -05:00
Kitware Robot 4a266a2679 CMake Nightly Date Stamp 2020-11-02 00:01:18 -05:00
Kitware Robot af4243f054 CMake Nightly Date Stamp 2020-11-01 00:01:04 -04:00
Roger Leigh ec23338187 FindICU: Improve case consistency in documentation 2020-10-31 12:13:30 +00:00
Kitware Robot cc7052f594 CMake Nightly Date Stamp 2020-10-31 00:01:05 -04:00
Brad King 8d6b036449 Merge topic 'custom-command-cleanup'
3e36d5e846 cmGeneratorTarget: Refactor custom command dependency evaluation
c404f64289 cmCustomCommandGenerator: Collect genex target references in commands
2a640d4199 cmCustomCommandGenerator: Add move operations
fab772c3e1 cmAddCustomCommandCommand: Drop outdated comment
84fecbf214 cmLocalNinjaGenerator: Remove leftover local debugging comment
9e5e2d704a Remove unnecessary arbitrary CollapseFullPath second arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5435
2020-10-30 09:53:28 -04:00
Brad King 013c4133f7 Merge topic 'CheckSourceRuns-compatibility' into release-3.19
a524bf3aa7 CheckSourceRuns: do not fail on unrecognized arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5426
2020-10-30 09:51:35 -04:00
Brad King 78c9c85eb6 Merge branch 'release-3.19' 2020-10-30 09:51:35 -04:00
Brad King 301d82a6ae Merge topic 'CheckSourceRuns-compatibility'
a524bf3aa7 CheckSourceRuns: do not fail on unrecognized arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5426
2020-10-30 09:51:35 -04:00