Commit Graph

46113 Commits

Author SHA1 Message Date
Brad King
352999ac46 Merge branch 'release-3.15' 2019-12-09 13:23:52 -05:00
Brad King
3d1a939af1 Merge branch 'backport-3.15-FindGTK2-harfbuzz' into release-3.15
Merge-request: !3877
2019-12-09 13:23:38 -05:00
Julien Jomier
e6f758be6d ctest: Populate CTEST_CONFIGURATION_TYPE from the -C command line when set 2019-12-09 13:10:59 -05:00
Markus Mittendrein
e4b1b79abb FindGTK2: Add harfbuzz to GTK2_INCLUDE_DIRS
Fixes: #19531
2019-12-09 12:04:33 -05:00
Brad King
d806263578 Merge branch 'backport-3.16-toc_on_ppc' into toc_on_ppc 2019-12-09 11:41:15 -05:00
Brad King
90d8bd2deb Merge branch 'backport-3.15-toc_on_ppc' into backport-3.16-toc_on_ppc 2019-12-09 11:40:02 -05:00
Alexander Grund
b35926e260 Check for support before adding bigtoc linker flag
Fixes: #20076
2019-12-09 11:39:12 -05:00
Alexander Grund
958f858ad8 Check for support before adding bigtoc linker flag
Fixes: #20076
2019-12-09 11:37:40 -05:00
Alexander Grund
8c7b7df788 bootstrap: Add target_link_options command 2019-12-09 11:37:37 -05:00
Brad King
b358f1827c Merge topic 'link-options-propagation'
bbba701899 Link properties: must be transitive over private dependency on static library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4120
2019-12-09 11:32:05 -05:00
Marc Chevrier
bbba701899 Link properties: must be transitive over private dependency on static library
Fixes: #20022
2019-12-09 11:29:36 -05:00
Brad King
f62c674202 Merge topic 'foreach-ZIP_LISTS'
d30468a2f6 foreach: Allow multiple iteration variables for `ZIP_LIST` mode
f3e51a2b1d foreach: Introduce `IN ZIP_LISTS` mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4021
2019-12-09 11:25:35 -05:00
Brad King
17cb419267 Merge topic 'cross-compile-windows-export-all'
5ff1d7bd90 Add support for WINDOWS_EXPORT_ALL_SYMBOLS when cross-compiling to Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4081
2019-12-09 11:22:56 -05:00
Brad King
b2634d639b Merge topic 'cuda_updates_for_10.2'
5341f5e4a1 CUDA: get header deps from compiler invocation when possible
7f15c99851 CUDA: forward unknown flags to host compiler when possible.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4099
2019-12-09 11:21:58 -05:00
Brad King
51b87bcc62 Merge topic 'CPackNuGet-version-spec'
161a19e547 CPackNuGet: Fix handling of version specs with '['

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4082
2019-12-09 11:20:55 -05:00
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
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
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
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
Alex Turbov
dd54290dab Refactor: Modernize function command 2019-12-07 19:25:44 +02:00
Alex Turbov
d30468a2f6
foreach: Allow multiple iteration variables for ZIP_LIST mode 2019-12-07 18:03:20 +02: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
Isuru Fernando
5ff1d7bd90 Add support for WINDOWS_EXPORT_ALL_SYMBOLS when cross-compiling to Windows
Implement `__create_def` using `llvm-nm` (when given as `CMAKE_NM`).
2019-12-06 09:30:25 -05:00
Yacoub Hossain
161a19e547 CPackNuGet: Fix handling of version specs with '['
Build a string directly to avoid depending on CMake lists which do
not handle square brackets in values very well.

Fixes: #20010
2019-12-06 09:14:36 -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