Brad King
7911c5b0b2
Merge topic 'bootstrap-system-libuv'
...
a32b5be56c bootstrap: Add option to use system libuv during bootstrap
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4976
2020-07-07 09:21:08 -04:00
Brad King
b089907c2c
Merge branch 'release-3.18'
2020-07-07 09:17:23 -04:00
Brad King
6bdbc7dba0
Merge topic 'cmake-gui-qt-5.14'
...
8eb7cf9b5f cmake-gui: Fix compilation as C++14 with Qt 5.14
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !4978
2020-07-07 09:17:23 -04:00
Brad King
dab33d1e33
Merge topic 'cmake-gui-qt-5.14' into release-3.18
...
8eb7cf9b5f cmake-gui: Fix compilation as C++14 with Qt 5.14
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !4978
2020-07-07 09:17:22 -04:00
Brad King
8efbe9f4fe
Merge branch 'release-3.18'
2020-07-07 09:13:49 -04:00
Brad King
996b312825
Merge topic 'FindMPI-nvcc-fexceptions' into release-3.18
...
b725a19072 FindMPI: Deny -fexceptions from NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robert.maynard@kitware.com >
Merge-request: !4970
2020-07-07 09:13:49 -04:00
Brad King
096093356c
Merge topic 'FindMPI-nvcc-fexceptions'
...
b725a19072 FindMPI: Deny -fexceptions from NVCC
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robert.maynard@kitware.com >
Merge-request: !4970
2020-07-07 09:13:49 -04:00
Kitware Robot
ce4ed6219a
CMake Nightly Date Stamp
2020-07-07 00:02:09 -04:00
Julien Schueller
a32b5be56c
bootstrap: Add option to use system libuv during bootstrap
...
Support bootstrapping on older systems where our bundled
version libuv does not compile (.e.g Centos5, see #19086 and #19311 ).
Add a `--bootstrap-system-libuv` option to use the system-provided
libuv even for the bootstrap binary itself.
2020-07-06 13:00:57 -04:00
Brad King
8eb7cf9b5f
cmake-gui: Fix compilation as C++14 with Qt 5.14
...
Fix code added by commit d7679f6427 (QCMakeCacheView: use non-deprecated
List and Set constructions, 2020-06-10, v3.18.0-rc2~13^2), used
conditionally on Qt 5.14 or above, to compile as C++14.
2020-07-06 11:45:03 -04:00
Brad King
26c1271159
Merge branch 'release-3.18'
2020-07-06 09:42:42 -04:00
Brad King
2e029b1d36
Merge branch 'cmext-vs16-declval' into release-3.18
...
Merge-request: !4971
2020-07-06 09:42:21 -04:00
Axel Huebl
b725a19072
FindMPI: Deny -fexceptions from NVCC
...
Do not forward -fexceptions (set from MVAPICH2) to NVCC.
Fixes : #18558
2020-07-06 09:37:11 -04:00
Sumit Bhardwaj
8843946519
cmext: Implement cm::static_reference_cast by declval
...
Previously, `cm::static_reference_cast` used `invoke_result_t` and took
the address of `O::get`. This is not in complete conformance with
standard.
Change the implementation to use `std::declval<O>.get()` which is always
well-defined.
2020-07-06 09:30:56 -04:00
Marc Chevrier
c17167cdcb
Merge topic 'sumitb/vs16'
...
782d7387d5 Implement cm::static_reference_cast by declval
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4971
2020-07-06 09:28:57 -04:00
Brad King
a4cfc7d03c
Merge topic 'refactor-generator-configs'
...
7a969fe21d cmMakefile: Refactor API to better handle empty config values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4957
2020-07-06 09:28:11 -04:00
Brad King
ab46e71eeb
Merge topic 'cmStandardLevelResolver-refactor'
...
49f3e0ab6f cmStandardLevelResolver: Refactor to remove duplicate code
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4966
2020-07-06 09:27:19 -04:00
Brad King
4023ee3b56
Merge branch 'release-3.18'
2020-07-06 09:24:48 -04:00
Brad King
9e1cd8ea45
Merge topic 'doc-file_ARCHIVE_synopsis'
...
f9766dad19 Help: Update file(ARCHIVE...) synopsis for renamed options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4977
2020-07-06 09:24:48 -04:00
Brad King
948925f416
Merge topic 'doc-file_ARCHIVE_synopsis' into release-3.18
...
f9766dad19 Help: Update file(ARCHIVE...) synopsis for renamed options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4977
2020-07-06 09:24:47 -04:00
Craig Scott
f9766dad19
Help: Update file(ARCHIVE...) synopsis for renamed options
...
The FILES and DIRECTORY options were renamed in bbcff21f71
(file(ARCHIVE*): Collapse FILES and DIRECTORY options, 2020-06-30),
but the synopsis part of the file() documentation was missed.
The synopsis also typically only shows the mandatory options.
Update the synopsis to reflect the name changes and omit the
DESTINATION option since it is not mandatory.
2020-07-06 20:15:09 +10:00
Craig Scott
44a5ee6615
Merge branch 'release-3.18'
2020-07-06 05:53:05 -04:00
Craig Scott
6180d99148
Merge topic 'doc-FRAMEWORK_MULTI_CONFIG_POSTFIX_CONFIG' into release-3.18
...
3bb287581c Help: FRAMEWORK_MULTI_CONFIG_POSTFIX example should use actual config
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4973
2020-07-06 05:53:05 -04:00
Craig Scott
a0bca7e9cc
Merge topic 'doc-FRAMEWORK_MULTI_CONFIG_POSTFIX_CONFIG'
...
3bb287581c Help: FRAMEWORK_MULTI_CONFIG_POSTFIX example should use actual config
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4973
2020-07-06 05:53:05 -04:00
Kitware Robot
c68c744497
CMake Nightly Date Stamp
2020-07-06 00:02:07 -04:00
Craig Scott
3bb287581c
Help: FRAMEWORK_MULTI_CONFIG_POSTFIX example should use actual config
2020-07-05 16:26:46 +10:00
Kitware Robot
fdd90a4b66
CMake Nightly Date Stamp
2020-07-05 00:02:37 -04:00
Sumit Bhardwaj
782d7387d5
Implement cm::static_reference_cast by declval
...
Previously, cm::static_reference_cast used invoke_result_t and took the
address of O::get. This is not in complete conformance with standard.
This MR changes the implementation to use std::declval<O>.get() which is
always well-defined.
2020-07-04 11:03:46 -07:00
Kitware Robot
940857844e
CMake Nightly Date Stamp
2020-07-04 00:02:39 -04:00
Robert Maynard
7a969fe21d
cmMakefile: Refactor API to better handle empty config values
2020-07-03 07:43:18 -04:00
Robert Maynard
49f3e0ab6f
cmStandardLevelResolver: Refactor to remove duplicate code
...
This will make it easier to add new languages that have standard flags.
2020-07-03 07:37:45 -04:00
Brad King
12497c56a9
Merge topic 'cpack-dmg-sla'
...
b9737ead1f Tests: Add case for CPack DMG multi-language SLAs
925c026c31 Tests: Verify SLA in CPackComponentsForAll-DragNDrop-* DMG files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4969
2020-07-03 07:34:47 -04:00
Brad King
6b246f9198
Merge topic 'darwin-init-var-cleanup'
...
2af6857562 Darwin: prefix internal osx variables with "_" to hide them from users
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4967
2020-07-03 07:34:11 -04:00
Chuck Cranor
2af6857562
Darwin: prefix internal osx variables with "_" to hide them from users
...
A simple CMakeLists.txt on osx shows that variable "d" is set
(but empty) by the system modules. this pollutes the user's
variable namespace. I noticed this when I created a library
target "d" and got unexpected policy CMP0054 warnings when
trying to find_package(d CONFIG REQUIRED) (triggered from the
generated "d-targets.cmake" ...). Note that non-"_" prefixed
internal variables are ok within functions due to scoping rules.
Fixes : #20898
2020-07-03 07:33:25 -04:00
Brad King
bc27f26fbc
Merge topic 'xcode-lang-mm'
...
258c8734a9 Xcode: Fix LANGUAGE property on .m/.mm files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4965
2020-07-03 07:32:06 -04:00
Harry Mallon
258c8734a9
Xcode: Fix LANGUAGE property on .m/.mm files
...
When OBJC or OBJCXX is enabled as a language, prefer that for .m and .mm
source file language selection.
Fixes : #20257
2020-07-03 07:30:50 -04:00
Brad King
476b6be497
Merge topic 'find-libraries-NAMES_PER_DIR'
...
0d9d8dd054 FindPNG use NAMES_PER_DIR
e6908b65b4 FindGIF use NAMES_PER_DIR
45ea7f9c80 FindGLEW use NAMES_PER_DIR
8e671f2564 FindLAPACK use NAMES_PER_DIR
ec6bbfd58d FindIntl use NAMES_PER_DIR
667a229e8d FindProtobuf use NAMES_PER_DIR
64d37b4953 FindLibLZMA use NAMES_PER_DIR
9d2c119ff5 FindJPEG use NAMES_PER_DIR
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4961
2020-07-03 07:27:44 -04:00
Brad King
b902da418d
Merge topic 'restore-cwd-translation-map' into release-3.18
...
85a945a607 Restore handling of build directory inside a symlinked path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4963
2020-07-03 07:25:31 -04:00
Brad King
7a435c82f0
Merge branch 'release-3.18'
2020-07-03 07:25:31 -04:00
Brad King
977f5ed3d1
Merge topic 'restore-cwd-translation-map'
...
85a945a607 Restore handling of build directory inside a symlinked path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4963
2020-07-03 07:25:31 -04:00
Kitware Robot
bfa645c599
CMake Nightly Date Stamp
2020-07-03 00:03:17 -04:00
Brad King
b9737ead1f
Tests: Add case for CPack DMG multi-language SLAs
...
Add a test for the feature added by commit f88533cc06 (CPackDMG: Add
support for multilingual SLAs, 2015-10-19, v3.5.0-rc1~232^2).
Issue: #20889
2020-07-02 16:39:57 -04:00
Brad King
925c026c31
Tests: Verify SLA in CPackComponentsForAll-DragNDrop-* DMG files
...
Issue: #20889
2020-07-02 16:39:57 -04:00
Brad King
29d2d4805f
Merge topic 'refactor_cmmakefile_language_standards_methods'
...
dc94b0249e cmStandardLevelResolver: Added to handle standard level queries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4932
2020-07-02 08:39:26 -04:00
Brad King
b516ada836
Merge topic 'FindGTest-no_release_support'
...
a064b18f85 FindGTest: Allow either "Debug" or "Release" configurations.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4950
2020-07-02 08:37:51 -04:00
Brad King
edce450e03
Merge topic 'gtest-xml-add-test'
...
7b92e11683 Tests: Add test for GoogleTest XML_OUTPUT_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4954
2020-07-02 08:37:00 -04:00
Brad King
41d9a934a7
Merge branch 'release-3.18'
2020-07-02 08:34:28 -04:00
Brad King
55a9298ac6
Merge topic 'FindLua-5.4' into release-3.18
...
bbb7f0e271 FindLua: Add support for Lua 5.4
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4959
2020-07-02 08:34:27 -04:00
Brad King
ba889a0b28
Merge topic 'FindLua-5.4'
...
bbb7f0e271 FindLua: Add support for Lua 5.4
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4959
2020-07-02 08:34:27 -04:00
Brad King
6935ffd550
Merge topic 'update-curl' into release-3.18
...
6d423195d5 Merge branch 'upstream-curl' into update-curl
4446fda8e0 curl 2020-06-30 (5a1fc8d3)
4e9685f657 curl: Update script to get curl 7.71.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4958
2020-07-02 08:32:54 -04:00