Commit Graph

46463 Commits

Author SHA1 Message Date
Brad King
4409bfbe9b Merge topic 'bootstrap-release'
9969efa1ae bootstrap: Build with Release config by default to get optimizations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4196
2020-01-10 13:39:35 -05:00
Brad King
2ee6baef4f Merge topic 'ninja-postgen-commands'
fb18215904 Ninja: clean ninja metadata once generated

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Jan Niklas Hasse <jhasse@bixense.com>
Merge-request: !3316
2020-01-10 13:30:35 -05:00
Brad King
d76e4c147a Merge branch 'release-3.15' 2020-01-10 13:23:07 -05:00
Brad King
9fa8b7d5dd Merge topic 'cuda-device-link-only-cuda' into release-3.16
7ffa42288e Merge branch 'backport-3.15-cuda-device-link-only-cuda'
071c4f1a2a CUDA: Do not device link if target has no CUDA usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4191
2020-01-10 13:21:12 -05:00
Brad King
67e64092e1 Merge branch 'release-3.16' 2020-01-10 13:21:12 -05:00
Brad King
4a010ee52b Merge topic 'cuda-device-link-only-cuda'
01c90d76a1 Merge branch 'backport-3.16-cuda-device-link-only-cuda'
7ffa42288e Merge branch 'backport-3.15-cuda-device-link-only-cuda'
071c4f1a2a CUDA: Do not device link if target has no CUDA usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4191
2020-01-10 13:21:12 -05:00
Brad King
a7fc5df5d3 Merge topic 'GNUtoMS-vs2019' into release-3.16
08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4197
2020-01-10 13:20:03 -05:00
Brad King
a004779f95 Merge branch 'release-3.16' 2020-01-10 13:20:03 -05:00
Brad King
ba3552dce5 Merge topic 'GNUtoMS-vs2019'
08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4197
2020-01-10 13:20:03 -05:00
Brad King
a56b862941 Merge branch 'release-3.16' 2020-01-10 13:18:36 -05:00
Brad King
213b03d275 Merge topic 'objc-compiler-launcher' into release-3.16
a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4189
2020-01-10 13:18:35 -05:00
Brad King
eb672da7d4 Merge topic 'objc-compiler-launcher'
f6ef6e5a73 Merge branch 'backport-3.16-objc-compiler-launcher'
1a9f6bad98 ObjC: Add _COMPILE_LAUNCHER support
a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4189
2020-01-10 13:18:35 -05:00
Brad King
fc94de6897 Merge topic 'custom-target-FOLDER'
353405daef Add support for FOLDER target property to custom targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4193
2020-01-10 13:17:28 -05:00
Brad King
18e97c00f4 Merge topic 'reduce_verbosity_find_package_debug_mode'
6c92df382f find_package: Improve debug logging output

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4175
2020-01-10 13:16:30 -05:00
Brad King
9f2719b31e Merge topic 'findopenssl-dependencies-link-order'
90973c4abd FindOpenSSL: Fix ordering of dependency link flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4173
2020-01-10 13:10:42 -05:00
Brad King
09721ca078 target_link_libraries: Fix out-of-dir calls with debug/optimized keywords
In commit a1ad0a699b (target_link_libraries: Allow use with targets in
other directories, 2018-09-07, v3.13.0-rc1~94^2) we added use of `<...>`
to encode a directory id, but the closing `>` can incorrectly terminate
a surrounding generator expression early.  Encode the directory id using
`(...)` instead.

Fixes: #20202
2020-01-10 11:40:34 -05:00
Brad King
c40229968c target_link_libraries: Add FIXME comment for out-of-dir genex list
Issue: #20204
2020-01-10 11:40:18 -05:00
Betsy McPhail
a7d25358a0 Tutorial: Add the PRIVATE keyword to target_link_libraries command 2020-01-10 11:38:00 -05:00
Betsy McPhail
cf2afb1065 Tutorial: Remove 'Consumer' example
This example was incomplete and did not follow the format of the tutorial.
2020-01-10 11:38:00 -05:00
Betsy McPhail
77b515f3eb Tutorial: Improve "MultiPackage" example
Rename to Step 12 and ensure that it follows Step 11
2020-01-10 11:37:54 -05:00
Cristian Adam
7347e2f830 ObjC: Add VISIBLITY_INLINES_HIDDEN support
Fixes: #20193
2020-01-10 16:31:27 +01:00
Marc Chevrier
fcde42751a FindPython: ensure new Xcode framework for Python3 is detected 2020-01-10 13:48:39 +01:00
Marc Chevrier
dd7b741b81 macOS: Add support for new Xcode 11 frameworks directory
Update CMAKE_SYSTEM_FRAMEWORK_PATH with new Xcode 11 frameworks directory
2020-01-10 13:48:39 +01:00
Craig Scott
3795dea6f1 Merge topic 'docs-autogen'
159d2ead95 Help: Mention both target and source properties for AUTO..._OPTIONS
648234b8ba Help: Clarify/add docs for initializing AUTO..._OPTIONS properties
dd2f42cc84 Help: Clean up formatting and typos in autogen docs
2ec57e11fb Help: Fix sorting of property indexes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4194
2020-01-10 07:02:38 -05:00
Marc Chevrier
c1b5f8eb45 Merge topic 'FindPython-SOABI'
61502d3956 FindPython: Add variable Python_SOABI

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4190
2020-01-10 04:55:20 -05:00
Kitware Robot
ee20c0ebf4 CMake Nightly Date Stamp 2020-01-10 00:01:16 -05:00
Brad King
08c5b3eff0 GNUtoMS: Add search path for VS 2019 environment scripts
Extend the logic from commit abe8a623d9 (GNUtoMS: Add search path for VS
2017 environment scripts, 2017-05-19, v3.8.2~1^2) to consider VS 2019
paths too.

Fixes: #20162
2020-01-09 16:56:30 -05:00
Brad King
9969efa1ae bootstrap: Build with Release config by default to get optimizations
Fixes: #20197
2020-01-09 14:49:47 -05:00
Betsy McPhail
3a510a47b0 Tutorial: Add links to relevant CMake documentation
Add links for commands, properties and variables.
2020-01-09 14:49:28 -05:00
Brad King
f6ef6e5a73 Merge branch 'backport-3.16-objc-compiler-launcher' 2020-01-09 13:53:23 -05:00
Cristian Adam
1a9f6bad98 ObjC: Add _COMPILE_LAUNCHER support
Fixes: #20178
2020-01-09 13:52:37 -05:00
Luca Cappa
353405daef Add support for FOLDER target property to custom targets
Fixes: #18372
2020-01-09 11:55:12 -05:00
Cristian Adam
a05b9d4239 ObjC: Add _COMPILE_LAUNCHER support
Fixes: #20178
2020-01-09 11:35:23 -05:00
Brad King
01c90d76a1 Merge branch 'backport-3.16-cuda-device-link-only-cuda' 2020-01-09 11:21:09 -05:00
Brad King
c89a696721 Merge branch 'backport-3.15-cuda-device-link-only-cuda' into release-3.15
Merge-request: !4191
2020-01-09 11:19:30 -05:00
Brad King
7ffa42288e Merge branch 'backport-3.15-cuda-device-link-only-cuda' 2020-01-09 11:13:51 -05:00
Brad King
d4d11b1707 Merge branch 'release-3.16' 2020-01-09 11:11:16 -05:00
Brad King
68537b890b Merge branch 'release-3.15' into release-3.16 2020-01-09 11:10:32 -05:00
Robert Maynard
071c4f1a2a CUDA: Do not device link if target has no CUDA usage
When CUDA is enabled, and a pure non-CUDA target has
CMAKE_CUDA_SEPARABLE_COMPILATION enabled, don't actually perform
the device linking step, as it will fail. A target that has
CMAKE_CUDA_SEPARABLE_COMPILATION enabled must also have CUDA
usage (either itself, or something it links to).

Fixes: #20182
2020-01-09 11:02:17 -05:00
Marc Chevrier
61502d3956 FindPython: Add variable Python_SOABI
This variable holds the standard extension suffix for modules.

Fixes: #20150
2020-01-09 14:43:22 +01:00
Marc Chevrier
635225513e Merge topic 'fix-check-compiler-flag-gcc-9'
8b10e493ac check_LANG_compiler_flag: add the "deprecated switch" message for GCC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4165
2020-01-09 05:29:21 -05:00
Marc Chevrier
968477517e Refactoring: suppress cmEraseIf in favor of cm::erase_if 2020-01-09 11:19:20 +01:00
Marc Chevrier
d168fa2024 Merge topic 'findlibxml2_consistent_info'
4041cf5f61 FindLibXml2: ensure consistent paths, version and flag information

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4188
2020-01-09 05:14:26 -05:00
Craig Scott
159d2ead95 Help: Mention both target and source properties for AUTO..._OPTIONS 2020-01-09 20:34:39 +11:00
Craig Scott
648234b8ba Help: Clarify/add docs for initializing AUTO..._OPTIONS properties 2020-01-09 20:33:56 +11:00
Craig Scott
dd2f42cc84 Help: Clean up formatting and typos in autogen docs 2020-01-09 20:32:27 +11:00
Craig Scott
2ec57e11fb Help: Fix sorting of property indexes 2020-01-09 20:30:49 +11:00
Kitware Robot
428b38bb21 CMake Nightly Date Stamp 2020-01-09 00:01:15 -05:00
Marc Chevrier
348b60d19d STL support: add c++20 std::erase and std::erase_if functions 2020-01-08 17:35:16 +01:00
Marc Chevrier
d020ed99e9 Merge topic 'modernize-memory-management'
a00960288b GlobalGenerator family: modernize memory management

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4181
2020-01-08 11:32:59 -05:00