Brad King
958df7021f
Merge topic 'mingw-find-no-dll'
...
afbbfe5109
MinGW: Update find_library to not find plain .dll files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4248
2020-01-21 09:52:20 -05:00
Brad King
7a89e3c36c
Merge topic 'install-std-string'
...
9db532f44d
cmInstall*Generator: std::string params
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4241
2020-01-21 09:21:51 -05:00
Vitaly Stakhovsky
9db532f44d
cmInstall*Generator: std::string params
...
Several construction parameters converted to std::string
Also made a few class members const
2020-01-21 09:19:13 -05:00
Brad King
7d17ec2a2e
Merge branch 'release-3.15'
2020-01-21 09:15:48 -05:00
Brad King
80223d5f0f
Merge branch 'release-3.16'
2020-01-21 09:15:18 -05:00
Brad King
01f0a5d3dd
Merge topic 'InstallRequiredSystemLibraries-redist'
...
7ca923bcaf
IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Andrey Vihrov <andrey.vihrov@gmail.com>
Merge-request: !4247
2020-01-21 09:15:17 -05:00
Brad King
bcb0816cf9
Merge topic 'InstallRequiredSystemLibraries-redist' into release-3.16
...
7ca923bcaf
IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Andrey Vihrov <andrey.vihrov@gmail.com>
Merge-request: !4247
2020-01-21 09:15:17 -05:00
Kitware Robot
2f7e76efa4
CMake Nightly Date Stamp
2020-01-21 00:01:16 -05:00
Brad King
afbbfe5109
MinGW: Update find_library to not find plain .dll files
...
Modern distributions of packages built with MinGW tools provide `.dll.a`
import libraries. Prefer those instead of finding plain `.dll` files.
This avoids accidentally finding unrelated Windows `.dll` files.
Fixes : #20019
2020-01-20 13:31:45 -05:00
Brad King
a3f9a9ab55
Merge branch 'InstallRequiredSystemLibraries-redist' into release-3.15
...
Merge-request: !4247
2020-01-20 13:22:22 -05:00
Brad King
7ca923bcaf
IRSL: Install msvcp140_{1,2,codecvt_ids}.dll if available
...
VS now distributes these additional runtime libraries. Install them if
available.
Fixes : #20228
2020-01-20 13:19:56 -05:00
Brad King
941c09616b
Merge topic 'multi-ninja-pch'
...
a55df20499
Multi-Ninja: Add precompile headers support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4201
2020-01-20 11:59:28 -05:00
Brad King
56a3e84a67
Merge topic 'realpath-cache'
...
9d5a554cc9
cmGlobalGenerator: Add cache for realpath() results
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4220
2020-01-20 11:55:04 -05:00
Brad King
b168d8e855
Merge topic 'autogen_rcc_skip_unity' into release-3.16
...
086d9b2bab
Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4237
2020-01-20 11:54:13 -05:00
Brad King
a44b83c138
Merge branch 'release-3.16'
2020-01-20 11:54:13 -05:00
Brad King
6a5a23ea92
Merge topic 'autogen_rcc_skip_unity'
...
086d9b2bab
Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4237
2020-01-20 11:54:13 -05:00
Brad King
bf3142e253
Merge topic 'fphsa-name-mismatch'
...
be4d1bdf9a
FPHSA: acknowledge the name mismatches in CMake-owned modules
ee4673c1ae
FPHSA: detect package name mismatches
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Eric Noulard <eric.noulard@gmail.com>
Merge-request: !4123
2020-01-20 11:53:14 -05:00
Brad King
9b9dfacaa5
Merge topic 'acc-fix-in-source-depends-path'
...
ba3a417dce
Tests/CustomCommand: add a test for depending on a `./path`
e23475dc73
Tests/CustomCommand: fix custom command line to actually make its output
db4780d584
cmGeneratorTarget: search for relative paths to the binary directory
ec479f101f
cmLocalGenerator: collapse the path after construction
fd0ba705ce
add_custom_command: check if a relative path should be an in-source path
fd84f510f8
cmLocalGenerator: simplify the current source dir query
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4195
2020-01-20 11:52:00 -05:00
Brad King
ac59da4c6a
Merge topic 'stl-support'
...
b9a3f2e7e2
STL Support: enhance behavior of cm::dynamic_reference_cast
04c2f67492
STL Support: extends type_traits for future developments
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4216
2020-01-20 11:51:07 -05:00
Kitware Robot
5e38b8f608
CMake Nightly Date Stamp
2020-01-20 00:01:13 -05:00
Craig Scott
582cc710c2
Merge topic 'pch-msvc-no-path-repetition' into release-3.16
...
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4236
2020-01-19 15:10:17 -05:00
Craig Scott
3452f2d4c2
Merge branch 'release-3.16'
2020-01-19 15:10:17 -05:00
Craig Scott
6bd07b9de1
Merge topic 'pch-msvc-no-path-repetition'
...
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4236
2020-01-19 15:10:17 -05:00
Kitware Robot
cd08cb7b8c
CMake Nightly Date Stamp
2020-01-19 00:01:08 -05:00
Kitware Robot
5b4b808cb4
CMake Nightly Date Stamp
2020-01-18 00:01:15 -05:00
Cristian Adam
a55df20499
Multi-Ninja: Add precompile headers support
...
Fixes : #19789
2020-01-17 23:17:35 +01:00
Sebastian Holtermann
086d9b2bab
Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
...
`rcc` generated files are not compatible with unity builds, because they
contain classes in anonymous namespaces and static data with identical names.
This patch sets the source file property `SKIP_UNITY_BUILD_INCLUSION` to `On`
on all `AUTORCC` generated files to exclude them from unity build files.
Fixes : #20191 "QT5: Exclude resource files from unity build"
2020-01-17 09:48:35 -05:00
Brad King
93d4148612
Merge topic 'step5'
...
fc2d1b1347
Tutorial: Clarify Step 5
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4231
2020-01-17 09:42:32 -05:00
Brad King
a7fca06c46
Merge topic 'out-of-dir-link-list'
...
f0e67da061
target_link_libraries: Fix out-of-dir linking of a list of targets
acee629103
cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct
ba675f1ecc
Tests: Enable CMP0022 in ExportImport out-of-dir linking case
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4226
2020-01-17 09:41:10 -05:00
Brad King
cd6f6b2a9f
Merge topic 'cmake-ctest-arguments'
...
4153d8445b
Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4168
2020-01-17 09:40:23 -05:00
Brad King
796d66438b
Merge topic 'rename-cross-config-variable'
...
310b58e961
Ninja Multi-Config: Rename variable to be more consistent
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4234
2020-01-17 09:39:32 -05:00
Brad King
85e959b727
Merge topic 'feature/cmSourceFile-avoid-unnecessary-copy'
...
5da3d01fd1
cmSourceFile: avoid unnnecessary copies
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4233
2020-01-17 09:38:45 -05:00
Brad King
f80437ad34
Merge topic 'csharp-default-langversion'
...
2e882b4275
CSharp: Set C# compiler to default version
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4232
2020-01-17 09:37:57 -05:00
Brad King
7dad7ea4ac
Merge branch 'release-3.16'
2020-01-17 09:25:24 -05:00
Brad King
9409ea2c4e
Merge topic 'findopenssl-dependencies-link-order'
...
d2880aaa06
FindOpenSSL: Fix ordering of dependency link flags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4235
2020-01-17 09:25:24 -05:00
Brad King
4c907eae69
Merge topic 'findopenssl-dependencies-link-order' into release-3.16
...
d2880aaa06
FindOpenSSL: Fix ordering of dependency link flags
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4235
2020-01-17 09:25:23 -05:00
Craig Scott
808888aa47
Merge topic 'cpack-custom-dmg-names'
...
6d6f4b9316
CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME
b53230fbee
Tests: Add DragNDrop as a testable CPack generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4227
2020-01-17 08:33:01 -05:00
Marc Chevrier
b9a3f2e7e2
STL Support: enhance behavior of cm::dynamic_reference_cast
...
Ensure cm::dynamic_reference_cast has same behavior as dynamic_cast
on reference: raise std::bad_cast if dynamic_cast is not possible.
2020-01-17 11:09:53 +01:00
Marc Chevrier
04c2f67492
STL Support: extends type_traits for future developments
2020-01-17 11:09:48 +01:00
Kitware Robot
c9836f8a88
CMake Nightly Date Stamp
2020-01-17 00:01:14 -05:00
Betsy McPhail
fc2d1b1347
Tutorial: Clarify Step 5
2020-01-16 15:54:01 -05:00
Ben Boeckel
ba3a417dce
Tests/CustomCommand: add a test for depending on a ./path
2020-01-16 13:56:30 -05:00
Ben Boeckel
e23475dc73
Tests/CustomCommand: fix custom command line to actually make its output
2020-01-16 13:56:30 -05:00
Ben Boeckel
db4780d584
cmGeneratorTarget: search for relative paths to the binary directory
...
Dependencies in the form `./somepath.txt` are not found otherwise
because we only match on last-path-component searches and `.` never
shows up in a full path as a full component.
2020-01-16 13:56:30 -05:00
Ben Boeckel
ec479f101f
cmLocalGenerator: collapse the path after construction
...
The path may contain `..` or `.` components naïvely, so compute them out
before letting the generator handle them.
2020-01-16 13:56:30 -05:00
Ben Boeckel
fd0ba705ce
add_custom_command: check if a relative path should be an in-source path
...
This still is broken for dependencies on generated paths where they get
generated to the source directory rather than the build directory
however, but there's no way to determine that is the case.
Fixes : #20194
2020-01-16 13:54:26 -05:00
Ben Boeckel
fd84f510f8
cmLocalGenerator: simplify the current source dir query
2020-01-16 13:54:25 -05:00
Brad King
f0e67da061
target_link_libraries: Fix out-of-dir linking of a list of targets
...
In a case like
target_link_libraries(targetInOtherDir PUBLIC "$<1:a;b>")
then all entries in the list need to be looked up in the caller's
scope. Previously our `::@(directory-id)` suffix would apply only
to the last entry. Instead surround the entire entry by a pair
`::@(directory-id);...;::@` so that the `::@` syntax can encode
a directory lookup scope change evaluated as the list is processed.
Fixes : #20204
2020-01-16 13:24:27 -05:00
Brad King
acee629103
cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct
2020-01-16 11:53:52 -05:00
Cristian Adam
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
...
Fixes : #19952
2020-01-16 17:05:05 +01:00