Justin Goshi
5355a60fd0
cmLocalGenerator: Add AppendCompileOptions overload with backtraces
2019-09-10 10:45:41 -04:00
Brad King
05d5c66ff8
Merge topic 'tidy-return-brace'
...
d63c1e4e6e clang-tidy: modernize-return-braced-init-list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3790
2019-09-10 10:27:44 -04:00
Brad King
1c2c541b0c
Merge topic 'clang-tidy-8-macOS'
...
8588cdf3a0 clang-tidy: Fix bugprone-exception-escape diagnostic in test code
f1f57cffc7 clang-tidy: Fix performance-for-range-copy diagnostic in Xcode generator
175d8c4bf6 clang-tidy: Resolve performance-unnecessary-value-param diagnostics
7c5ec91301 cmGeneratedFileStreamBase: Optimize string construction in Close
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3796
2019-09-10 10:26:55 -04:00
Brad King
b31aa0285c
Merge topic 'clang-tidy-8'
...
2528b70293 clang-tidy: Remove old entries from blacklist
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3787
2019-09-10 10:25:40 -04:00
Brad King
c2ead49451
Merge topic 'local-var'
...
4d71bea02c cmLocalGenerator::AddConfigVariableFlags: optimize string construction
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3793
2019-09-10 10:02:00 -04:00
Kitware Robot
f9a014e2c8
CMake Nightly Date Stamp
2019-09-10 00:01:05 -04:00
Brad King
8588cdf3a0
clang-tidy: Fix bugprone-exception-escape diagnostic in test code
2019-09-09 13:51:23 -04:00
Brad King
f1f57cffc7
clang-tidy: Fix performance-for-range-copy diagnostic in Xcode generator
...
Fix diagnostics that appear on macOS with clang-tidy-8.
2019-09-09 13:51:23 -04:00
Brad King
175d8c4bf6
clang-tidy: Resolve performance-unnecessary-value-param diagnostics
...
Fix diagnostics that appear on macOS with clang-tidy-8. Suppress cases
where we intentionally take an argument by value to let the caller
choose whether to copy or move.
2019-09-09 13:51:23 -04:00
Brad King
7c5ec91301
cmGeneratedFileStreamBase: Optimize string construction in Close
...
Use cmStrCat to concatenate two parts of a file name.
This also avoids a bugprone-exception-escape diagnostic from
clang-tidy-8 on macOS.
2019-09-09 13:51:23 -04:00
Regina Pfeifer
cd7d736278
cmCTestTestHandler: Port away from cmCommand
2019-09-09 16:32:05 +02:00
Justin Goshi
a20d2c85d0
cmLocalGenerator: Add AppendFlags overload with backtraces
2019-09-09 09:43:34 -04:00
Justin Goshi
b13207910e
cmLocalGenerator: Clarify AddCompileOptions filter logic
2019-09-09 09:43:34 -04:00
Justin Goshi
ca7b90dcf2
cmLocalGenerator: Use local variables to collect flags
2019-09-09 09:43:34 -04:00
Justin Goshi
eac8700c78
cmLocalGenerator: Improve local variable names
2019-09-09 09:43:34 -04:00
Daniel Eiband
ff5028c531
Windows: Prevent auto exports to be regenerated on every build
...
Check modified time stamps of input files against an existing exports file
before generating the auto exports.
Fixes : #19650
2019-09-09 15:43:15 +02:00
Brad King
922482dd3a
Merge topic 'cuda_resolve_device_symbols_on_static_lib_collect_deps_properly'
...
2d7bb13da7 CUDA: static lib device linking computes required static libs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3748
2019-09-09 09:41:32 -04:00
Rolf Eike Beer
5b96fd5b81
use cmSystemTools::MoveFileIfDifferent()
...
This is better than doing CopyFileIfDifferent() followed by RemoveFile() in
two ways:
- it is more efficient, as it avoids disk I/O for the data, even if the
files here are usually small
- it is atomic, so an abort during the copy will not leave a destination file
with partial data behind
2019-09-09 10:34:08 +02:00
Rolf Eike Beer
5eaf1e1be2
cmSystemTools: introduce MoveFileIfDifferent()
2019-09-09 10:30:25 +02:00
Rolf Eike Beer
4d71bea02c
cmLocalGenerator::AddConfigVariableFlags: optimize string construction
2019-09-09 08:15:32 +02:00
Kitware Robot
d803d6b59f
CMake Nightly Date Stamp
2019-09-09 00:01:04 -04:00
Alex Turbov
b2c67a7703
Style: Remove spaces after command call and (
2019-09-08 20:29:36 +03:00
Kitware Robot
c52a354244
CMake Nightly Date Stamp
2019-09-08 00:01:20 -04:00
Kitware Robot
9aecf2e840
CMake Nightly Date Stamp
2019-09-07 00:01:06 -04:00
Regina Pfeifer
d63c1e4e6e
clang-tidy: modernize-return-braced-init-list
2019-09-06 22:27:39 +02:00
Daniel Eiband
7569239362
cmMakefile: set GENERATED property of outputs upfront
...
Setting the GENERATED property of outputs upfront is a precondition for delayed
custom command creation (generator expressions in outputs).
Issue: 12877
2019-09-06 22:22:22 +02:00
Regina Pfeifer
2528b70293
clang-tidy: Remove old entries from blacklist
...
Now that clang-tidy-8 is used, we can remove the checks that have been
renamed. Also enable a return-braced-init-list, because we don't have
any violations for that one.
2019-09-06 21:24:18 +02:00
Brad King
ca8c3d64c8
Merge topic 'use-using'
...
1d3f5ebb0d clang-tidy: Enable check modernize-use-using
a1ddf2d0ba clang-tidy: Replace typedef with using
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3782
2019-09-06 12:38:04 -04:00
Brad King
45e90f62dd
Merge topic 'simplify-AppendFlags'
...
5acf0de1fe cmLocalGenerator: Remove AppendFlags 'const char*' overload
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3786
2019-09-06 12:35:49 -04:00
Brad King
32c9ab8a1b
Merge topic 'iwyu-freebsd-pkg'
...
0d06cc457c CPack/FreeBSD: Cleanup include-what-you-use diagnostics
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3785
2019-09-06 12:35:00 -04:00
Kitware Robot
7772c1db03
CMake Nightly Date Stamp
2019-09-06 00:01:04 -04:00
Craig Scott
a2d4968ab9
Merge topic 'doxygen-add-docs-USE_STAMP_FILE'
...
611eb26b9d FindDoxygen: add USE_STAMP_FILE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3238
2019-09-05 20:03:55 -04:00
Nikita Sirgienko
611eb26b9d
FindDoxygen: add USE_STAMP_FILE option
...
The new option enables the behavior of only building if sources change.
2019-09-06 09:12:09 +10:00
Robert Maynard
2d7bb13da7
CUDA: static lib device linking computes required static libs
...
Previously the CMake didn't compute the required set of libraries
needed to properly device link a static library when
CUDA_RESOLVE_DEVICE_SYMBOLS was enabled.
2019-09-05 10:51:02 -04:00
Brad King
5acf0de1fe
cmLocalGenerator: Remove AppendFlags 'const char*' overload
...
Update call sites to ensure the `std::string` argument can be
constructed safely.
2019-09-05 10:31:56 -04:00
Brad King
6db8f6a410
Merge topic 'doc-remove_directory-symlink'
...
3beb2c440b cmake: Document -E remove_directory symlink behavior
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3784
2019-09-05 09:07:30 -04:00
Brad King
0d06cc457c
CPack/FreeBSD: Cleanup include-what-you-use diagnostics
2019-09-05 09:03:26 -04:00
Brad King
ac4d6d4a9d
Merge topic 'unity-build'
...
7786a05c70 Unity build: Add XCode support
1353802af3 Unity build: Add unit tests
8dfeb5d278 Unity build: Add support for Visual Studio generator
7114c141e2 Unity build: Add support for Ninja and Makefile generators
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com >
Acked-by: Evgeniy Dushistov <dushistov@mail.ru >
Acked-by: Viktor Kirilov <vik.kirilov@gmail.com >
Merge-request: !3611
2019-09-05 08:36:06 -04:00
Brad King
3beb2c440b
cmake: Document -E remove_directory symlink behavior
...
Update documentation for the change made by commit e6c9a8bac3 (cmake:
Teach -E remove_directory to remove directory symlinks, 2019-08-26).
Also add a release note.
Issue: #19533
2019-09-05 08:31:49 -04:00
Brad King
fcba9c3baa
Merge topic 'cpack-zstd'
...
e26f0e9dd5 CPack: Add generator for .tar.zst packages
f7085d7b0a cmCPackArchiveGenerator: Code cleanup
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3752
2019-09-05 08:24:50 -04:00
Kitware Robot
f545428be0
CMake Nightly Date Stamp
2019-09-05 00:01:06 -04:00
Regina Pfeifer
1d3f5ebb0d
clang-tidy: Enable check modernize-use-using
...
Annotate the remaining typedefs with NOLINT.
Unfortunately, clang-tidy is not smart enough and suggests the use
of using inside extern "C" blocks.
2019-09-04 19:47:30 +02:00
Regina Pfeifer
e26f0e9dd5
CPack: Add generator for .tar.zst packages
2019-09-04 13:05:22 -04:00
Regina Pfeifer
f7085d7b0a
cmCPackArchiveGenerator: Code cleanup
2019-09-04 13:05:22 -04:00
Regina Pfeifer
a1ddf2d0ba
clang-tidy: Replace typedef with using
...
Automate the conversion with
perl -i -0pe 's/typedef ([^;]*) ([^ ]+);/using $2 = $1;/g'
then manually fix a few places.
2019-09-04 18:03:01 +02:00
Brad King
ee15bc7d7e
Merge branch 'release-3.15'
2019-09-04 10:36:51 -04:00
Brad King
26a0e200e5
CMake 3.15.3
v3.15.3
2019-09-04 09:50:07 -04:00
Brad King
aef152b91d
Merge branch 'release-3.15'
2019-09-04 09:43:43 -04:00
Brad King
790db8d477
Merge topic 'FindBoost-1.71'
...
907d3ed824 FindBoost: Tolerate future Boost INTERFACE libraries
2d357b7a68 FindBoost: Clarify role of legacy variables in warning message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3780
2019-09-04 09:43:18 -04:00
Brad King
7a8bd12926
Merge branch 'FindBoost-1.71' into release-3.15
...
Merge-request: !3780
2019-09-04 09:10:57 -04:00