summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ninja_rule_class'Brad King2019-05-305-286/+221
|\ | | | | | | | | | | | | | | 6136ab5e17 Ninja: Use cmNinjaRule as sole parameter in the WriteRule and AddRule methods 6a23fbce47 Ninja: Add cmNinjaRule class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3393
| * Ninja: Use cmNinjaRule as sole parameter in the WriteRule and AddRule methodsSebastian Holtermann2019-05-294-286/+200
| | | | | | | | | | | | | | | | Instead of passing multiple strings to the `WriteRule` and `AddRule` methods of `cmGlobalNinjaGenerator`, pass only a `cmNinjaRule` instance reference, that is set up beforehand. Adapt calls to `WriteRule` and `AddRule` in multiple places.
| * Ninja: Add cmNinjaRule classSebastian Holtermann2019-05-291-0/+21
| |
* | Merge topic 'tar-zstd-compression'Brad King2019-05-309-9/+45
|\ \ | | | | | | | | | | | | | | | | | | 53cb1f2d04 cmake: Teach cmake -E tar command, Zstandard compression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3357
| * | cmake: Teach cmake -E tar command, Zstandard compressionBartosz Kosiorek2019-05-229-9/+45
| | | | | | | | | | | | Fixes #18657
* | | CMake Nightly Date StampKitware Robot2019-05-301-1/+1
| | |
* | | Merge topic 'clang-gnulike-support'Brad King2019-05-2939-102/+265
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Help: Add notes for topic 'clang-gnulike-support'Brad King2019-05-241-0/+5
| | | |
| * | | Tests: handle string escaping differences with NMake+clangZsolt Parragi2019-05-243-6/+13
| | | |
| * | | Tests: require C++14 for the TutorialZsolt Parragi2019-05-2413-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | Clang++ on Windows with the MSVC STL requires C++14 to compile. The C++ standard is set to C++14 for the entire tutorial instead of MSVC/clang specific conditions to keep it simple.
| * | | Tests: fix failures with gnu mode clang on windowsZsolt Parragi2019-05-2412-12/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Root causes were: * Using incorrect conditions (assuming MSVC-like command line mode) * Trying to compile the MSVC STL in C++11 mode, when parts of it require C++14 or enabling MS extensions in clang. * Missing flush in a testcase using stdout in a dll and a main part with static crt
| * | | cmake: use correct stack size with gnu mode clang on windowsZsolt Parragi2019-05-231-0/+6
| | | |
| * | | clang: setup correct configuration in gnu modeZsolt Parragi2019-05-232-7/+123
| | | |
| * | | cmGlobalNinjaGenerator: use gnu compatible paths with clang in gnu modeZsolt Parragi2019-05-171-7/+14
| | | |
| * | | binutils: add the llvm-* variants to the tool lists.Zsolt Parragi2019-05-171-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows cmake to use the ar/ranlib/objdump/ld tools on windows without mingw installed. These tools are selected when clang is in GNU command line mode.
| * | | clang: introduce CMAKE_<lang>_COMPILER_FRONTEND_VARIANTZsolt Parragi2019-05-175-38/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable is set to GNU on Windows when clang.exe ar clang++.exe is used, and set to MSVC for clang-cl.exe. CMAKE_<lang>_SIMULATE_ID is set to MSVC in both cases, as clang defaults to -fms-compatibility for all command lines on windows.
* | | | Merge topic 'FindZLIB-names'Brad King2019-05-291-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ff3ab2ac9 FindZLIB: Add more zlib library names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3384
| * | | | FindZLIB: Add more zlib library namesAlexander Neumann2019-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Account for all names that can be generated by the upstream zlib build system. Issue: #18029
* | | | | Merge topic 'samu'Brad King2019-05-291-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a15595e4c9 Ninja: Consider 'samu' when looking for CMAKE_MAKE_PROGRAM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3380
| * | | | | Ninja: Consider 'samu' when looking for CMAKE_MAKE_PROGRAMMichael Forney2019-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `samurai` is an alternative implementation of ninja and is a drop-in replacement. `samu --version` reports the ninja version it is compatible with.
* | | | | | Merge topic 'swift-wrapper'Brad King2019-05-291-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6baa80d1e3 Modules: correct linker wrapper flag for Swift Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3390
| * | | | | | Modules: correct linker wrapper flag for SwiftSaleem Abdulrasool2019-05-281-1/+2
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | This was sitting locally but was missed in previous commits. This enables the use of `LINKER:` when building Swift code bases.
* | | | | | Merge topic 'linker-preference'Brad King2019-05-291-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abea06efdf Modules: setup `CMAKE_Swift_LINKER_PREFERENCE` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3373
| * | | | | | Modules: setup `CMAKE_Swift_LINKER_PREFERENCE`Saleem Abdulrasool2019-05-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge topic 'findopenmp-new-dates'Brad King2019-05-291-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26f2b65fec FindOpenMP: Add 5.0 and VS19 spec dates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3375
| * | | | | | | FindOpenMP: Add 5.0 and VS19 spec datesChristian Pfeiffer2019-05-241-0/+4
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Fixes: #19289
* | | | | | | CMake Nightly Date StampKitware Robot2019-05-291-1/+1
| | | | | | |
* | | | | | | Merge topic 'flex'Brad King2019-05-281-0/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7754448f6 FindFLEX: fix example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3379
| * | | | | | FindFLEX: fix exampleMarcin Ĺšlusarz2019-05-261-0/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Binaries using flex must link with the detected library.
* | | | | | Merge branch 'release-3.14'Brad King2019-05-280-0/+0
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'FindThreads-doc-c++' into release-3.14Brad King2019-05-281-3/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3391
| * \ \ \ \ \ \ Merge branch 'FindBoost-contract-requires-compile-features' into release-3.14Brad King2019-05-241-0/+10
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3368
* | \ \ \ \ \ \ \ Merge topic 'FindThreads-doc-c++'Brad King2019-05-281-3/+0
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a38b63c1bb FindThreads: Drop incorrect docs about usage with C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3391
| * | | | | | | | FindThreads: Drop incorrect docs about usage with C++Brad King2019-05-281-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Merge topic 'cmake_automoc_relaxed_mode_deprecation'Brad King2019-05-284-4/+24
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | Autogen: Deprecation release notes for CMAKE_AUTOMOC_RELAXED_MODESebastian Holtermann2019-05-271-0/+5
| | | | | | | | | |
| * | | | | | | | | Help: Mark CMAKE_AUTOMOC_RELAXED_MODE as deprecatedSebastian Holtermann2019-05-271-0/+2
| | | | | | | | | |
| * | | | | | | | | Autogen: Deprecation message for CMAKE_AUTOMOC_RELAXED_MODESebastian Holtermann2019-05-272-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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`.
* | | | | | | | | | Merge topic 'FindPython-find_framework'Brad King2019-05-285-15/+46
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 62d6ed79fb FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3374
| * | | | | | | | | | FindPython: Add variable 'Python_FIND_FRAMEWORK' to control frameworks lookup.Marc Chevrier2019-05-245-15/+46
| | |_|_|_|_|_|/ / / | |/| | | | | | | |
* | | | | | | | | | Merge topic 'GetPrerequisites-use-if-IN_LIST'Brad King2019-05-281-10/+6
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3dfc8b9bd6 GetPrerequisites: use if(IN_LIST) instead of foreach Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3299
| * | | | | | | | | | GetPrerequisites: use if(IN_LIST) instead of foreachBen Boeckel2019-05-231-10/+6
| | | | | | | | | | |
* | | | | | | | | | | Merge topic 'swift-response'Brad King2019-05-282-1/+7
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e5457d3b4 Ninja,Swift: correct response file handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3367
| * | | | | | | | | | | Ninja,Swift: correct response file handlingSaleem Abdulrasool2019-05-232-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The response file was being written but not used due to the wrong variable being configured for Swift. Swift does compile+link in a single phase and does not use the `<OBJECTS>` placeholder. Use the `<SWIFT_SOURCES>` placeholder instead for the response file substitution which serves the same purpose.
* | | | | | | | | | | | Merge topic 'FindICU-find-names'Brad King2019-05-281-4/+8
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59c392b44e FindICU: Pass explicit NAMES argument to find command calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3371
| * | | | | | | | | | | | FindICU: Pass explicit NAMES argument to find command callsBrad King2019-05-241-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This improves readability and avoids an undocumented signature variant. Fixes: #19302
* | | | | | | | | | | | | Merge topic 'rel-push'Brad King2019-05-284-47/+72
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | | | | | Utilities/Release: Replace upload step with a "push" scriptBrad King2019-05-243-42/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | | | | | | | | Utilities/Release: Teach upload script to compute version automaticallyBrad King2019-05-242-7/+2
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Read the version from `Source/CMakeVersion.cmake` instead of repeating it.
* | | | | | | | | | | | | Merge topic 'FindBoost-contract-requires-compile-features'Brad King2019-05-281-0/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | / / | |_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b915a42585 FindBoost: Add compiler features for Boost Contract library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3368