Brad King
0adaed609f
Merge topic 'FindPostgreSQL-13' into release-3.19
...
f3f09f1c96 FindPostgreSQL: support version 13
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5468
2020-11-06 07:55:47 -05:00
Brad King
a775a6a18b
Merge topic 'xcode-inherit-paths' into release-3.19
...
bffb17be3d Xcode: Inherit target library and framework search paths from project
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5463
2020-11-06 07:43:03 -05:00
Craig Scott
10b36244b6
Merge topic 'help_ctest_cuda_memcheck' into release-3.19
...
e620bb7293 Help: Add cuda-memcheck to CTest documentation
fb98883e2b CTest: Add cuda-memcheck to Dart and CTest module
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5469
2020-11-06 05:50:52 -05:00
Tobias Ribizel
e620bb7293
Help: Add cuda-memcheck to CTest documentation
...
Issue: #21388
2020-11-05 10:05:01 -05:00
Tobias Ribizel
fb98883e2b
CTest: Add cuda-memcheck to Dart and CTest module
...
Issue: #21388
2020-11-05 10:04:44 -05:00
Pavel Cernohorsky
f3f09f1c96
FindPostgreSQL: support version 13
2020-11-05 07:59:45 -05:00
Gusts Kaksis
bffb17be3d
Xcode: Inherit target library and framework search paths from project
...
Xcode has multiple levels of build settings with priority in descending
order:
1. Target
2. Project
3. Workspace
4. SDK defaults
`CMAKE_XCODE_ATTRIBUTE_*` path variables add these to project level, but
linked frameworks and libraries override this in target level. Add the
`$(inherited)` macro to keep both in the final list.
Fixes : #21387
2020-11-05 13:48:54 +02: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
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
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
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
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
b77dfa441f
Help: Clarify variables specifying scripts to execute during packaging
...
Relates: #19077
2020-11-03 20:11:38 +11: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
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
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
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
685fa8bec0
FindBoost: Avoid leaking internal Boost_ROOT setting
...
Since commit 4b2a61946f (FindBoost: Honor BOOST_ROOT when finding
upstream BoostConfig, 2020-10-22, v3.19.0-rc2~14^2) we accidentally leak
our internal setting of `Boost_ROOT`. Revise the logic to unset our
temporary value.
Fixes : #21379
2020-10-30 09:42:43 -04:00
Craig Scott
604fa62c01
Merge topic 'string-json-doc-update' into release-3.19
...
49fce3373b Help: Clarify string(JSON) error handling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5427
2020-10-30 07:15:40 -04:00
Ben Boeckel
a524bf3aa7
CheckSourceRuns: do not fail on unrecognized arguments
...
The old `check_X_source_runs` modules did not verify the arguments, so
we cannot start doing it now. Downgrade the hard error introduced in
commit 357e2ef429 (CheckSoureRuns: Add a unified way to check if a
source runs, 2020-09-14) via !5223 into a noisy warning.
2020-10-28 15:06:02 -04:00
Peter Steneteg
49fce3373b
Help: Clarify string(JSON) error handling
...
Closes : #21355
2020-10-28 23:09:24 +11:00
Brad King
f506cc6bb2
CMake 3.19.0-rc2
v3.19.0-rc2
2020-10-28 08:03:20 -04:00
Brad King
199247c21a
Merge topic 'cmake-presets-help-flag' into release-3.19
...
c619be2784 ccmake: Don't list --preset in --help
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5428
2020-10-28 07:47:37 -04:00
Brad King
f48e32178f
Merge topic 'cmake_path-update-doc' into release-3.19
...
ec5951e078 cmake_path: Enhance documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5425
2020-10-28 07:43:37 -04:00
Brad King
fe310851a8
Merge topic 'cmake-gui-manual-argument' into release-3.19
...
ef03124237 CMake GUI: Add --browse-manual argument
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5417
2020-10-28 07:37:07 -04:00
Brad King
1a5c95e828
Merge topic 'FindRuby-restore-VENDORLIB_DIR' into release-3.19
...
80e693152c Merge branch 'release-3.19' into FindRuby-restore-VENDORLIB_DIR
4c0ef57e8c FindRuby: Restore compatibility variable RUBY_VENDORLIB_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5434
2020-10-28 07:27:49 -04:00
Brad King
15caa11da5
Merge topic 'xcode-fix-source-linking' into release-3.19
...
5dc23300b1 Xcode: Fix regression that automatically links libraries in source list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5432
2020-10-28 07:26:46 -04:00
Brad King
b79aadbfd4
Merge topic 'ci-config-sync' into release-3.19
...
e68d3e3b44 ci: update to Qt 5.15.1
d759c4310d ci: update to use CMake 3.18.4
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5433
2020-10-27 12:32:42 -04:00
Brad King
80e693152c
Merge branch 'release-3.19' into FindRuby-restore-VENDORLIB_DIR
2020-10-27 12:25:41 -04:00
Brad King
4c0ef57e8c
FindRuby: Restore compatibility variable RUBY_VENDORLIB_DIR
...
Since commit e672db628b (FindRuby: Rename variables to match case of
module name, 2020-03-11, v3.18.0-rc1~546^2), the result variables named
with the old `RUBY_` prefix are provided by compatibility code that maps
from the new `Ruby_` prefix variables. This variable was accidentally
left out.
Fixes : #21369
2020-10-27 12:18:05 -04:00
Kyle Edwards
ef03124237
CMake GUI: Add --browse-manual argument
2020-10-27 12:05:41 -04:00
Kyle Edwards
c619be2784
ccmake: Don't list --preset in --help
...
And show available options in cmake-gui.
Fixes : #21313
2020-10-27 10:29:24 -04:00
Ben Boeckel
e68d3e3b44
ci: update to Qt 5.15.1
2020-10-27 09:49:07 -04:00
Ben Boeckel
d759c4310d
ci: update to use CMake 3.18.4
2020-10-27 09:48:56 -04:00
Brad King
8d6a0b9364
Merge topic 'cuda_vs_skip_computation' into release-3.19
...
dd77dec18d VS: Don't compute CUDA options unless necessary
e9109dec36 Merge branch 'ninja-multi-per-config-sources' into release-3.18
7c0de4175b Merge branch 'cmake-E-cat-binary' into release-3.18
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5422
2020-10-27 08:20:54 -04:00
Craig Scott
698851cdb7
Merge topic 'cmake-presets-path-arg' into release-3.19
...
b7d7eca66d CMakePresets.json: Rework how --preset argument is handled
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5416
2020-10-27 07:33:45 -04:00
Raul Tambre
dd77dec18d
VS: Don't compute CUDA options unless necessary
...
In the following scenario (with 3.18 policies):
1. A CXX target is created.
2. CUDA language is enabled.
CMake 3.18 introduced CMP0104, which requires CUDA_ARCHITECTURES to be
set. Because the CXX target was created before CUDA was enabled it
wouldn't have it set. The Visual Studio generator would however end up
computing CUDA compile options for the CXX target, which would result in
a fatal error due to the policy violation.
There doesn't seem to be a reason to do this for targets that don't
actually use the CUDA language, so we can skip and generate the CXX
target just fine.
Fixes : #21341
2020-10-27 07:29:01 -04:00
Gusts Kaksis
5dc23300b1
Xcode: Fix regression that automatically links libraries in source list
...
In commit e637744c51 (Xcode: Use "Link Binary With Libraries" to link
any library, 2019-07-10, v3.19.0-rc1~494^2~1) we accidentally added all
the library type files to "Link Binary With Libraries" build phase if
they were passed in as source files. Revert that change as any actually
linked libraries will be added to that build phase later in the
`AddDependAndLinkInformation` call.
Fixes : #21361
2020-10-27 07:12:26 -04:00
Brad King
96ea613f16
Merge topic 'correct_msvc_cuda_flag_warning' into release-3.19
...
2b0d3c3524 CUDA: Use MSVC version to determine supported C++ standard levels
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5423
2020-10-27 07:05:18 -04:00
Brad King
479a9dfb69
Merge topic 'check-module-name-conflicts' into release-3.19
...
d192918586 Modules: Do not implicitly add new functions via old Check Modules
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5424
2020-10-27 07:02:49 -04:00
Brad King
374cca779b
Merge topic 'ninja-multi-per-config-sources' into release-3.19
...
b8937a992b Merge branch 'release' into ninja-multi-per-config-sources
d13bd6ec3d Ninja Multi-Config: Don't try to calculate dependencies for "all"
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Brad King <brad.king@kitware.com >
Merge-request: !5430
2020-10-27 06:59:57 -04:00
Brad King
e9109dec36
Merge branch 'ninja-multi-per-config-sources' into release-3.18
...
Merge-request: !5430
2020-10-26 16:14:00 -04:00
Kyle Edwards
b8937a992b
Merge branch 'release' into ninja-multi-per-config-sources
2020-10-26 15:43:57 -04:00
Kyle Edwards
d13bd6ec3d
Ninja Multi-Config: Don't try to calculate dependencies for "all"
2020-10-26 15:37:04 -04:00
Robert Maynard
2b0d3c3524
CUDA: Use MSVC version to determine supported C++ standard levels
...
Fixes : #21335
2020-10-26 11:36:55 -04:00
Robert Maynard
d192918586
Modules: Do not implicitly add new functions via old Check Modules
...
The conversion of Check<Lang>CompilerFlag, SourceCompiles, and
SourceRuns over to the new functions has the possibility of breaking
projects that had functions with those existing names.
To reduce the possibility of collisions we now have all the
legacy code call functions that start with `cmake_`, and users
will need to explicitly include the new modules to get the
non-prefixed versions
Fixes : #21359
2020-10-26 10:57:55 -04:00
Brad King
9fa7afe7d3
Merge topic 'correct_profiling-output_exception' into release-3.19
...
afac7482d2 cmake: command arguments which use '=' behave consistently
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5414
2020-10-26 10:29:22 -04:00
Brad King
a1fe3be2bf
Merge topic 'per-config-source-TARGET_FILE' into release-3.19
...
cd33bfcad5 add_custom_command: Properly recognize if sources depend on config
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5410
2020-10-26 10:28:30 -04:00
Brad King
6335b67c80
Merge topic 'FindBoost-config-mode' into release-3.19
...
4b2a61946f FindBoost: Honor BOOST_ROOT when finding upstream BoostConfig
b32cb33275 FindBoost: Honor Boost_NO_SYSTEM_PATHS when finding upstream BoostConfig
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5408
2020-10-26 10:27:25 -04:00