Commit Graph

43647 Commits

Author SHA1 Message Date
Brad King 05af1770a0 Merge topic 'tar-zstd-compression'
53cb1f2d04 cmake: Teach cmake -E tar command, Zstandard compression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3357
2019-05-30 09:39:35 -04:00
Kitware Robot c68efd196e CMake Nightly Date Stamp 2019-05-30 00:01:07 -04:00
Brad King 067a4f484b Merge topic 'clang-gnulike-support'
74829f01b1 Help: Add notes for topic 'clang-gnulike-support'
19669abe1d Tests: handle string escaping differences with NMake+clang
a2a90f41e3 Tests: require C++14 for the Tutorial
4819ff9647 Tests: fix failures with gnu mode clang on windows
26af0b25e7 cmake: use correct stack size with gnu mode clang on windows
d44c0db0b2 clang: setup correct configuration in gnu mode
b7d5ef23e9 cmGlobalNinjaGenerator: use gnu compatible paths with clang in gnu mode
3d0210d8dc binutils: add the llvm-* variants to the tool lists.
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Francesco Bertolaccini <francesco@bertolaccini.dev>
Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com>
Acked-by: Saleem Abdulrasool <compnerd@compnerd.org>
Merge-request: !2992
2019-05-29 09:22:12 -04:00
Brad King 8b42d56002 Merge topic 'FindZLIB-names'
4ff3ab2ac9 FindZLIB: Add more zlib library names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3384
2019-05-29 09:19:38 -04:00
Brad King 5a720a30fa Merge topic 'samu'
a15595e4c9 Ninja: Consider 'samu' when looking for CMAKE_MAKE_PROGRAM

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3380
2019-05-29 09:18:35 -04:00
Brad King a1c291e0ac Merge topic 'swift-wrapper'
6baa80d1e3 Modules: correct linker wrapper flag for Swift

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3390
2019-05-29 09:17:44 -04:00
Brad King f093ac36c0 Merge topic 'linker-preference'
abea06efdf Modules: setup `CMAKE_Swift_LINKER_PREFERENCE`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3373
2019-05-29 09:16:17 -04:00
Brad King 0f9d7dc3ba Merge topic 'findopenmp-new-dates'
26f2b65fec FindOpenMP: Add 5.0 and VS19 spec dates

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3375
2019-05-29 09:15:09 -04:00
Kitware Robot 7c39a9c6b6 CMake Nightly Date Stamp 2019-05-29 00:01:08 -04:00
Brad King c7db6ce986 Merge topic 'flex'
a7754448f6 FindFLEX: fix example

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3379
2019-05-28 14:59:48 -04:00
Alexander Neumann 4ff3ab2ac9 FindZLIB: Add more zlib library names
Account for all names that can be generated by the upstream zlib build
system.

Issue: #18029
2019-05-28 14:51:45 -04:00
Michael Forney a15595e4c9 Ninja: Consider 'samu' when looking for CMAKE_MAKE_PROGRAM
`samurai` is an alternative implementation of ninja and is a drop-in
replacement.  `samu --version` reports the ninja version it is
compatible with.
2019-05-28 14:16:29 -04:00
Saleem Abdulrasool 6baa80d1e3 Modules: correct linker wrapper flag for Swift
This was sitting locally but was missed in previous commits.  This
enables the use of `LINKER:` when building Swift code bases.
2019-05-28 09:21:41 -07:00
Brad King 45e4f470c0 Merge branch 'release-3.14' 2019-05-28 11:59:22 -04:00
Brad King dfd2e0a4ed Merge topic 'FindThreads-doc-c++'
a38b63c1bb FindThreads: Drop incorrect docs about usage with C++

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3391
2019-05-28 11:58:07 -04:00
Brad King 22aabdfde0 Merge topic 'cmake_automoc_relaxed_mode_deprecation'
df6adb02c0 Autogen: Deprecation release notes for CMAKE_AUTOMOC_RELAXED_MODE
5bf07b9cfc Help: Mark CMAKE_AUTOMOC_RELAXED_MODE as deprecated
b5ad572ac1 Autogen: Deprecation message for CMAKE_AUTOMOC_RELAXED_MODE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3381
2019-05-28 11:56:24 -04:00
Brad King f326591c13 Merge topic 'FindPython-find_framework'
62d6ed79fb FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3374
2019-05-28 11:53:21 -04:00
Brad King 76cb43c7c5 Merge topic 'GetPrerequisites-use-if-IN_LIST'
3dfc8b9bd6 GetPrerequisites: use if(IN_LIST) instead of foreach

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3299
2019-05-28 11:51:58 -04:00
Brad King da0937c04f Merge topic 'swift-response'
9e5457d3b4 Ninja,Swift: correct response file handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3367
2019-05-28 11:50:28 -04:00
Brad King 56fec2fe8f Merge topic 'FindICU-find-names'
59c392b44e FindICU: Pass explicit NAMES argument to find command calls

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3371
2019-05-28 11:49:17 -04:00
Brad King da78d0f5ea Merge topic 'rel-push'
9bf97363b0 Utilities/Release: Replace upload step with a "push" script
3a0ab3ba23 Utilities/Release: Teach upload script to compute version automatically

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3370
2019-05-28 11:43:24 -04:00
Brad King 540640fc0a Merge topic 'FindBoost-contract-requires-compile-features'
b915a42585 FindBoost: Add compiler features for Boost Contract library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3368
2019-05-28 11:42:12 -04:00
Brad King f07d42632b Merge branch 'FindThreads-doc-c++' into release-3.14
Merge-request: !3391
2019-05-28 11:39:39 -04:00
Brad King a38b63c1bb FindThreads: Drop incorrect docs about usage with C++
Drop the sentence added by commit 5a5a1d90f0 (Help: FindThreads not
needed with modern C++., 2019-01-09, v3.14.0-rc1~186^2) about not
needing the module with modern C++.  The module is often still needed.

Fixes: #19297
2019-05-28 11:36:27 -04:00
Kitware Robot e13b18e2c7 CMake Nightly Date Stamp 2019-05-28 00:01:06 -04:00
Craig Scott ed593cbe64 Merge topic 'doc-typo-CTEST_CUSTOM_WARNING_xxx'
902af25512 Help: Fix typo for CTEST_CUSTOM_WARNING_xxx vars

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3378
2019-05-27 17:55:45 -04:00
Craig Scott 711f1bf1db Merge topic 'doc-install-export-android-mk'
b7b7f1806a Help: Fix typo in install(EXPORT_ANDROID_MK) example

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3376
2019-05-27 17:53:43 -04:00
Sebastian Holtermann df6adb02c0 Autogen: Deprecation release notes for CMAKE_AUTOMOC_RELAXED_MODE 2019-05-27 13:13:08 +02:00
Sebastian Holtermann 5bf07b9cfc Help: Mark CMAKE_AUTOMOC_RELAXED_MODE as deprecated 2019-05-27 13:13:08 +02:00
Sebastian Holtermann b5ad572ac1 Autogen: Deprecation message for CMAKE_AUTOMOC_RELAXED_MODE
`CMAKE_AUTOMOC_RELAXED_MODE` was added for backwards compatibility with KDE 4,
which had its last release in 2014.  It does not offer additional features
but complicates the `AUTOMOC` code and dependency computation considerably.

Projects that use `CMAKE_AUTOMOC_RELAXED_MODE` functionality always got
extensive warnings during builds and tips on how to convert to regular mode,
which is trivial (see commit e474dcb231, CMake 2.8.7).

It's time to consider this feature deprecated and issue a warning at
configuration time as well.

This adds a configuration time deprecation `AUTHOR_WARNING` for
`CMAKE_AUTOMOC_RELAXED_MODE`.
2019-05-27 13:06:01 +02:00
Kitware Robot c0e763d688 CMake Nightly Date Stamp 2019-05-27 00:01:04 -04:00
Marcin Ślusarz a7754448f6 FindFLEX: fix example
Binaries using flex must link with the detected library.
2019-05-26 22:34:06 +02:00
John Freeman b7b7f1806a Help: Fix typo in install(EXPORT_ANDROID_MK) example 2019-05-26 09:09:07 -05:00
Craig Scott 902af25512 Help: Fix typo for CTEST_CUSTOM_WARNING_xxx vars
These variables apply to the `ctest_build` command, not `ctest_test`

Relates: #19217
2019-05-26 22:31:23 +10:00
Kitware Robot 63f149f598 CMake Nightly Date Stamp 2019-05-26 00:01:04 -04:00
Kitware Robot e32f839338 CMake Nightly Date Stamp 2019-05-25 00:01:11 -04:00
Saleem Abdulrasool abea06efdf Modules: setup CMAKE_Swift_LINKER_PREFERENCE
Swift's driver will invoke the C++ driver (`clang++`) to invoke the
linker.  Additionally, it will configure the command line to deal with
the linkage runtime support object (`swiftrt.o` or `swiftrt.obj`) to be
added at the right time (similar to C/C++).  Since it indirects through
`clang++` it will properly setup the linker invocation for C++ and C as
well.  This should permit the correct linker driver to be invoked in
multi-language projects.

Closes #19299
2019-05-24 10:33:25 -07:00
Christian Pfeiffer 26f2b65fec FindOpenMP: Add 5.0 and VS19 spec dates
Fixes: #19289
2019-05-24 19:01:28 +02:00
Marc Chevrier 62d6ed79fb FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup. 2019-05-24 18:44:43 +02:00
Brad King 4ec2b99941 Merge topic 'selective-tar-extracting-and-listing'
c8e217e0a7 cmake: tar: Allow selective extracting and listing of archives

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3342
2019-05-24 10:43:14 -04:00
Brad King 2b8e5a3ba7 Merge topic 'ninja-pool-link-doc-nit'
25b2c7e4cd Help/CMAKE_JOB_POOL_LINK: match the header line with the variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3369
2019-05-24 10:41:48 -04:00
Brad King 3b7894b96c Merge topic 'fix-armclang-policy'
32e4f236b7 ARMClang: fix policy manipulation in the compiler module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3365
2019-05-24 10:40:39 -04:00
Brad King 96189e99e1 Merge topic 'cmAppend'
006229278b Use cmAppend to append ranges to std::vector instances
999516478d cmAlgorithms: Add cmAppend function

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3366
2019-05-24 10:39:01 -04:00
Brad King 96a013d44c Merge topic 'cmTargetMap_definition'
7b4b61a4d3 cmMakefile: Define cmTargetMap type in cmMakefile instead of cmTarget

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3364
2019-05-24 10:37:38 -04:00
Brad King ff0fb58fb5 Merge topic 'update-curl'
90766347db curl: Update build within CMake to account for 7.65 changes
a39138ef9a Merge branch 'upstream-curl' into update-curl
b26487c663 curl 2019-05-22 (885ce314)
2de8af0121 curl: Update script to get curl 7.65.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3363
2019-05-24 10:36:24 -04:00
Brad King 59c392b44e FindICU: Pass explicit NAMES argument to find command calls
This improves readability and avoids an undocumented signature variant.

Fixes: #19302
2019-05-24 10:31:35 -04:00
Brad King 9bf97363b0 Utilities/Release: Replace upload step with a "push" script
Replace the `upload_release.cmake` script with a `push.bash` script
that is more configurable from the command line and that does not
hard-code any destinations.  Instead of using `scp` to access
`cmake.org` directly, push the files atomically to a staging
directory from which another process will actually upload them.
2019-05-24 09:51:25 -04:00
Ben Boeckel 25b2c7e4cd Help/CMAKE_JOB_POOL_LINK: match the header line with the variable 2019-05-24 09:31:56 -04:00
Brad King 3a0ab3ba23 Utilities/Release: Teach upload script to compute version automatically
Read the version from `Source/CMakeVersion.cmake` instead of repeating it.
2019-05-24 08:04:11 -04:00
Brad King 2b6f832bf5 Merge branch 'FindBoost-contract-requires-compile-features' into release-3.14
Merge-request: !3368
2019-05-24 07:15:31 -04:00