Commit Graph

46022 Commits

Author SHA1 Message Date
Kitware Robot a2c0c2d024 CMake Nightly Date Stamp 2019-12-07 00:01:10 -05:00
Brad King 6462505b3b Merge branch 'release-3.16' 2019-12-06 08:38:59 -05:00
Brad King 58590f5a5a Merge topic 'clang-analyzer-ignore-strcpy'
677097ac1d TestDriver: ignore strcpy call

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4116
2019-12-06 08:38:58 -05:00
Brad King b4568361d2 Merge topic 'clang-analyzer-ignore-strcpy' into release-3.16
677097ac1d TestDriver: ignore strcpy call

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4116
2019-12-06 08:38:58 -05:00
Brad King c4c74c7693 Merge topic 'doc-rpath'
fb4a39a900 Help: Clarify INSTALL_RPATH_USE_LINK_PATH documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4108
2019-12-06 08:38:20 -05:00
Brad King 4ec0572736 Merge topic 'vs-clangcl-toolset'
3c125c6de0 VS: Support Visual Studio Clang Toolkit identification

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4111
2019-12-06 08:37:37 -05:00
Kitware Robot b736a22181 CMake Nightly Date Stamp 2019-12-06 00:01:11 -05:00
Ben Boeckel 677097ac1d TestDriver: ignore strcpy call
clang-analyzer has a check for any use of `strcpy`. This usage is safe
because it is allocated above using the length of the string.
2019-12-05 14:24:34 -05:00
Hong Xu fb4a39a900 Help: Clarify INSTALL_RPATH_USE_LINK_PATH documentation
State explicitly that directories containing linked library files
are also included even if they are not in the linker search path.
2019-12-05 12:45:45 -05:00
Justin Goshi 3c125c6de0 VS: Support Visual Studio Clang Toolkit identification
Teach CMake that the `ClangCl` toolset uses the `ClangClExecutable`
value as the path to the compiler executable.
2019-12-05 11:48:48 -05:00
Brad King 8455165239 Merge topic 'host-system-processor'
e622832211 Help: Fix CMAKE_HOST_SYSTEM_PROCESSOR use of uname

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4107
2019-12-05 11:48:15 -05:00
Brad King 4c94b53b73 Merge topic 'FindPkgConfig-cross-compile'
f92a4b2399 FindPkgConfig: Fix path manipulations when cross compiling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4106
2019-12-05 11:47:10 -05:00
Brad King 2557794609 Merge topic 'FindBLAS-atlas-static'
85f4d580c9 FindBLAS: Search for libblas from ATLAS vendor

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4105
2019-12-05 11:45:57 -05:00
Brad King 632bd60515 Merge topic 'FindPNG-static-dep-m'
ad41c98cbb FindPNG: add 'm' dependencies to static lib on Linux

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4096
2019-12-05 11:42:33 -05:00
Brad King 158839f0db Merge topic 'FindThreads-lib-flag' into release-3.16
f7ffefea7c FindThreads: Restore hard-coded '-l' flag on library name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4112
2019-12-05 11:40:35 -05:00
Brad King 3eb3fde9ed Merge branch 'release-3.16' 2019-12-05 11:40:35 -05:00
Brad King 625b120572 Merge topic 'FindThreads-lib-flag'
f7ffefea7c FindThreads: Restore hard-coded '-l' flag on library name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4112
2019-12-05 11:40:35 -05:00
Brad King 684ad4296d Merge topic 'pch-xcode-no-warning' into release-3.16
df8372da09 PCH: Do not add #pragma system_header for Xcode generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4098
2019-12-05 11:39:24 -05:00
Brad King cb003f9409 Merge branch 'release-3.16' 2019-12-05 11:39:24 -05:00
Brad King a795aa145c Merge topic 'pch-xcode-no-warning'
df8372da09 PCH: Do not add #pragma system_header for Xcode generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4098
2019-12-05 11:39:24 -05:00
Kitware Robot 8ee4f372aa CMake Nightly Date Stamp 2019-12-05 00:01:12 -05:00
Hong Xu e622832211 Help: Fix CMAKE_HOST_SYSTEM_PROCESSOR use of uname
Currently the document says that `CMAKE_HOST_SYSTEM_PROCESSOR` is the
output of `uname -p` if a system supports `uname`.  Update the
documented behavior to match `CMakeDetermineSystem.cmake` code.

Fixes: #20004
2019-12-04 14:59:37 -05:00
Eisuke Kawashima 85f4d580c9 FindBLAS: Search for libblas from ATLAS vendor
Symbols such as `cblas_ccopy` are defined in `libblas.a` but NOT IN
`libf77blas.a`.

Fixes: #14320
2019-12-04 14:53:40 -05:00
Brad King edb6aa98de Merge topic 'delay-custom-command-creation'
777ceaea94 cmMakefile: Delay custom command creation
4e37508c85 cmLocalGenerator: Refactor to use cmMakeSingleCommandLine
96e5042e46 cmCustomCommand: Explicitly pass backtrace on construction
3dc084ebc1 cmMakefile: Explicitly pass backtrace to GetCustomCommandTarget
e8360afbf7 cmPluginAPI: Correct typo in documentation of FinalPass
bf76a6b801 cmMakefile: Delay CheckTargetProperties and FinalPass to generate time

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3865
2019-12-04 14:22:50 -05:00
Brad King e9e0e401c6 Merge topic 'cmext-memory'
fc3b4caa2e Memory management: cast functions for managed pointers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4064
2019-12-04 14:22:01 -05:00
Brad King 816aa0740a Merge topic 'feature-test-fix'
ee28580c33 C++ feature checks: Ignore linker warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4089
2019-12-04 14:19:21 -05:00
Brad King f55593a607 Merge topic 'ninja-tool'
feb5cb8d9d Ninja: Prefer first ninja tool available in PATH

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4091
2019-12-04 14:18:23 -05:00
Brad King 73848a75e8 Merge topic 'cuda_lang_specifies_cmake_library_arch'
974220b714 CUDA: persist CMAKE_LIBRARY_ARCHITECTURE and CUDA version

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4090
2019-12-04 14:17:37 -05:00
Brad King f7ffefea7c FindThreads: Restore hard-coded '-l' flag on library name
Revert commit de5f123d3a (FindThreads: Do not hard-code '-l' flag on
library name, 2019-09-23, v3.16.0-rc1~71^2).  Some clients depend
on the value of `CMAKE_THREAD_LIBS_INIT` to contain a valid flag.

Fixes: #20061, #20065
2019-12-04 13:58:44 -05:00
Cristian Adam df8372da09 PCH: Do not add #pragma system_header for Xcode generator
Fixes: #20039
2019-12-04 12:56:53 -05:00
Kitware Robot f7ca8fc24c CMake Nightly Date Stamp 2019-12-04 00:01:08 -05:00
Kitware Robot c57bcf3b30 CMake Nightly Date Stamp 2019-12-03 00:01:07 -05:00
Hugo Beauzée-Luyssen f92a4b2399 FindPkgConfig: Fix path manipulations when cross compiling
When cross compiling from a unix machine, if(UNIX) is false,
whih causes the path not to be fixed for unix, leading to false
negative if PKG_CONFIG_PATH needs to be probed
2019-12-02 16:47:04 +01:00
Kitware Robot 735d731119 CMake Nightly Date Stamp 2019-12-02 00:01:08 -05:00
Kitware Robot ff270b8d33 CMake Nightly Date Stamp 2019-12-01 00:01:06 -05:00
Kitware Robot 7cd0c2be01 CMake Nightly Date Stamp 2019-11-30 00:01:09 -05:00
Kitware Robot ca2a3929c2 CMake Nightly Date Stamp 2019-11-29 00:01:07 -05:00
David Callu ad41c98cbb FindPNG: add 'm' dependencies to static lib on Linux 2019-11-28 12:15:20 +01:00
Kitware Robot 7fe99b813c CMake Nightly Date Stamp 2019-11-28 00:01:11 -05:00
Kyle Edwards 53bc2000a4 Merge branch 'release-3.16' 2019-11-27 22:48:20 -05:00
Kyle Edwards 398dfc1338 Merge topic 'ctest-spec-file-version-test'
59df85194e CTest Resource Allocation: Add test for spec file with no version

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4092
2019-11-27 22:48:20 -05:00
Kyle Edwards 85fb95562b Merge topic 'ctest-spec-file-version-test' into release-3.16
59df85194e CTest Resource Allocation: Add test for spec file with no version

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4092
2019-11-27 22:48:19 -05:00
Marc Chevrier fc3b4caa2e Memory management: cast functions for managed pointers 2019-11-27 16:03:04 +01:00
Kitware Robot 7046a52198 CMake Nightly Date Stamp 2019-11-27 00:01:12 -05:00
Kyle Edwards 59df85194e CTest Resource Allocation: Add test for spec file with no version 2019-11-26 11:41:56 -05:00
Brad King feb5cb8d9d Ninja: Prefer first ninja tool available in PATH
We search for tools `ninja-build`, `ninja`, and `samu` as the build tool
for the Ninja generator.  Re-order the search to prefer whichever tool
appears first in the `PATH`.  This makes it easier for users to control
which tool gets used when more than one is available.

Fixes: #20028
2019-11-26 11:20:15 -05:00
Brad King ffe801062a Merge branch 'release-3.16' 2019-11-26 10:18:59 -05:00
Brad King 1b4482f65d CMake 3.16.0 v3.16.0 2019-11-26 09:18:07 -05:00
Brad King 797e55a5ef Merge topic 'xlf-ninja'
19f267c75e XL: Add support for Ninja and XL Fortran

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4075
2019-11-26 09:14:33 -05:00
Brad King ff198efc77 Merge branch 'release-3.16' 2019-11-26 09:12:34 -05:00