Brad King
1da7fa3b47
Merge topic 'compiler-launcher-env'
...
6f48c59257 launcher: support setting a compiler launcher through the environment
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4095
2019-12-09 11:19:57 -05:00
Brad King
38d484e3b4
Merge topic 'modernize-memory-management'
...
d74416a9cd cmGeneratorExpressionEvaluator: Modernize memory management
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4115
2019-12-09 11:18:10 -05:00
Brad King
fa8e415759
Merge branch 'release-3.16'
2019-12-09 10:16:31 -05:00
Brad King
bde1bc7386
Merge topic 'unity-object-libraries'
...
fc99130752 Merge branch 'backport-unity-object-libraries' into unity-object-libraries
fa93b4a59b Unity: Proper handling of object libraries
5ae07e7166 Unity: Generic source file handling for all generators
f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4110
2019-12-09 10:16:31 -05:00
Brad King
21ba61c50c
Merge topic 'unity-object-libraries' into release-3.16
...
fa93b4a59b Unity: Proper handling of object libraries
5ae07e7166 Unity: Generic source file handling for all generators
f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4110
2019-12-09 10:16:31 -05:00
Brad King
63c9a71eeb
Merge branch 'release-3.16'
2019-12-09 10:15:20 -05:00
Brad King
47c6b6cdee
Merge topic 'pch-reuse-importlib' into release-3.16
...
93becd61d1 PCH: Use the target's PREFIX for building the pdb file name
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4114
2019-12-09 10:15:19 -05:00
Brad King
835f1bcbde
Merge topic 'pch-reuse-importlib'
...
93becd61d1 PCH: Use the target's PREFIX for building the pdb file name
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4114
2019-12-09 10:15:19 -05:00
Kyle Edwards
5d6b70ccfe
Merge topic 'libarchive-target'
...
30488b3b9f FindLibArchive: create a target
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4117
2019-12-09 09:59:53 -05:00
Kitware Robot
2c7aeaf47b
CMake Nightly Date Stamp
2019-12-09 00:01:08 -05:00
Cristian Adam
93becd61d1
PCH: Use the target's PREFIX for building the pdb file name
...
Also copy the REUSE_FROM pdb file only if the file is newer than the
existing one.
Fixes : #19731
Fixes : #20068
2019-12-08 20:22:34 +01:00
Brad King
fc99130752
Merge branch 'backport-unity-object-libraries' into unity-object-libraries
2019-12-08 11:21:38 -05:00
Kitware Robot
d71f69649f
CMake Nightly Date Stamp
2019-12-08 00:01:08 -05:00
Cristian Adam
fa93b4a59b
Unity: Proper handling of object libraries
...
Fixes : #20051
2019-12-07 15:44:38 +01:00
Cristian Adam
5ae07e7166
Unity: Generic source file handling for all generators
2019-12-07 15:44:31 +01:00
Cristian Adam
f742f7ac1f
Unity/PCH: Skip more target types when adding automatic sources
...
Besides INTERFACE_LIBRARY, skip also UTILITY and GLOBAL_TARGET
target types
2019-12-07 14:51:34 +01:00
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
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
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
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
T.J. Corona
30488b3b9f
FindLibArchive: create a target
2019-12-05 17:18:28 -05:00
Ben Boeckel
6f48c59257
launcher: support setting a compiler launcher through the environment
...
This makes it much easier to use a launcher for all CMake projects in an
environment rather than having to remember to pass the setting to every
CMake build.
2019-12-05 14:25:36 -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
Marc Chevrier
d74416a9cd
cmGeneratorExpressionEvaluator: Modernize memory management
2019-12-05 17:20:56 +01: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