Commit Graph
28539 Commits
Author SHA1 Message Date
Sebastian Holtermann 7d9e66a405 Ninja: Remove non cmNinjaBuild based WriteBuild method 2019-05-30 18:38:21 +02:00
Sebastian Holtermann ccf9507956 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:21 +02:00
Sebastian Holtermann df06c8d792 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:21 +02:00
Sebastian Holtermann 409922f695 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:21 +02:00
Sebastian Holtermann 7fd3811400 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann 834ec4ebfe Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann 465d6d7f9b Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann 4c9e99e1f9 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann cba8584517 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann c79b666c43 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann 477f9e3095 Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann fc451f130d Ninja: Use cmNinjaBuild class for WriteBuild 2019-05-30 18:38:20 +02:00
Sebastian Holtermann 2dc483476c Ninja: Remove WritePhonyBuild method 2019-05-30 18:38:20 +02:00
Sebastian Holtermann 5823510745 Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:19 +02:00
Sebastian Holtermann fe018819cb Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:19 +02:00
Sebastian Holtermann c367f7d546 Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:19 +02:00
Sebastian Holtermann 1e7e47f597 Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:19 +02:00
Sebastian Holtermann e97ea52010 Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:19 +02:00
Sebastian Holtermann 43af4ca78e Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:19 +02:00
Sebastian Holtermann e762da6dc9 Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:19 +02:00
Sebastian Holtermann 0d0cb136fb Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:38:14 +02:00
Sebastian Holtermann 09c21914b3 Ninja: Embrace temporary objects in scopes 2019-05-30 18:21:40 +02:00
Sebastian Holtermann dff42d4812 Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:21:40 +02:00
Sebastian Holtermann df72f06182 Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:21:40 +02:00
Sebastian Holtermann 0eed548d3f Ninja: Use cmNinjaBuild instead of WritePhonyBuild 2019-05-30 18:21:40 +02:00
Sebastian Holtermann b6dc977ff1 Ninja: Embrace temporary objects in scopes 2019-05-30 18:21:40 +02:00
Sebastian Holtermann 846b4b1062 Ninja: Make WriteCustomCommandBuild method use cmNinjaBuild internally 2019-05-30 18:21:36 +02:00
Sebastian Holtermann 8a46a07c8b Ninja: Make WriteMacOSXContentBuild use cmNinjaBuild internally 2019-05-30 16:44:30 +02:00
Sebastian Holtermann 15c644437a Ninja: Add cmNinjaBuild based WriteBuild (wrapper) method 2019-05-30 16:44:30 +02:00
Sebastian Holtermann 1b16d76567 Ninja: Add cmNinjaBuild utility class 2019-05-30 16:44:30 +02:00
Kinan Mahdi 42e14d90b1 VS: Added support for VS package references for nuget 2019-05-30 10:22:44 -04:00
Brad King a6a04cc446 Merge topic 'fix-clang-warnings'
4fe34b2d29 Fixing warnings generated by clang 8.0 on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3396
2019-05-30 09:58:37 -04:00
Brad King 6e8acc51a5 Merge topic 'string-tar'
57cedb18c0 cmSystemTools: std::string parameters for tar functions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3392
2019-05-30 09:57:11 -04:00
Brad King 9dad42d21a Merge topic 'ninja_rule_class'
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
2019-05-30 09:53:09 -04:00
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
Brad King 3a7f493b7b Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2019-05-30 (f892bacf)
2019-05-30 09:31:35 -04:00
Brad King 2d0b0e2b9d Do not exclude include directories made implicit by CPATH
Entries of the `CPATH` environment variable are implicitly searched as
include directories by some C/C++ compilers.  Since commit 5990ecb741
(Compute implicit include directories from compiler output, 2018-12-07,
v3.14.0-rc1~108^2) these entries are detected by CMake and included in
the `CMAKE_{C,CXX}_IMPLICIT_INCLUDE_DIRECTORIES` variables.

However, we should not exclude them from explicit specification via `-I`
or particularly `-isystem` because they are meant as user-specified
include directories that can be re-ordered without breaking compiler
builtin headers.  In particular, we need explicit requests via
`include_directories` with the `SYSTEM` option to result in `-isystem`
so that third-party headers do not produce warnings.

Co-Author: Ben Boeckel <ben.boeckel@kitware.com>
Fixes: #19291
2019-05-30 09:24:59 -04:00
Kitware Robot c68efd196e CMake Nightly Date Stamp 2019-05-30 00:01:07 -04:00
Zsolt Parragi 4fe34b2d29 Fixing warnings generated by clang 8.0 on Windows
* Deprecation removals previously specific to MSVC/Intel now also used
  by clang
* String literals were assigned to non const pointers. These are stored
  in mutable arrays now
* An implicit function pointer to pointer conversion is a Microsoft
  extension warning is suppressed by an explicit reinterpret_cast
* The MSVC specific deprecation macro for jsoncpp was moved after the
  clang macro to avoid redefinition warnings. This is consistent with
  how jsoncpp fixed the issue in 36d8cfd7
2019-05-29 18:18:09 +02:00
Vitaly Stakhovsky 57cedb18c0 cmSystemTools: std::string parameters for tar functions 2019-05-29 09:56:08 -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
Sebastian Holtermann 6136ab5e17 Ninja: Use cmNinjaRule as sole parameter in the WriteRule and AddRule methods
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.
2019-05-29 13:04:52 +02:00
Sebastian Holtermann 6a23fbce47 Ninja: Add cmNinjaRule class 2019-05-29 12:59:31 +02:00
Kitware Robot 7c39a9c6b6 CMake Nightly Date Stamp 2019-05-29 00:01:08 -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 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
Kitware Robot e13b18e2c7 CMake Nightly Date Stamp 2019-05-28 00:01:06 -04: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
Kitware Robot 63f149f598 CMake Nightly Date Stamp 2019-05-26 00:01:04 -04:00