Commit Graph

30065 Commits

Author SHA1 Message Date
Brad King 91f0f4aa73 Merge topic 'explicit-this-fix'
209daa20b2 Code style: add missed explicit 'this->'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5400
2021-01-06 10:20:57 -05:00
Brad King c1a7de72e1 Merge topic 'depend_make_refine'
b696f78073 cmDepends: merge dependers of depend makefile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5631
2021-01-06 10:20:04 -05:00
Brad King 6493d37091 Merge topic 'update-kwsys'
b6ae9ddc41 Merge branch 'upstream-KWSys' into update-kwsys
3887390a37 KWSys 2021-01-05 (a72d59e1)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5665
2021-01-06 10:19:10 -05:00
Kitware Robot 3b36d12ac2 CMake Nightly Date Stamp 2021-01-06 00:01:12 -05:00
Brad King 78c95e5a1c Merge topic 'ninja-omit-empty-custom-command'
d43f4692e0 Ninja: Omit custom commands with an empty COMMAND

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5647
2021-01-05 09:01:12 -05:00
Kai Wang b696f78073 cmDepends: merge dependers of depend makefile
Since one depender has multiple dependees, depend makefile generated
same depender line by line, to reduce file size and refine make file
parse speed, merge same dependers to one. And add a testcase for
large depend.make which generated source file includes 20000 header
files and run build and incremental build

Signed-off-by: Wangkai <wangkai86@huawei.com>
Signed-off-by: Zhaoyingdong <zhaoyingdong@huawei.com>
2021-01-05 07:48:27 -05:00
Oleksandr Koval 209daa20b2 Code style: add missed explicit 'this->'
CMake uses explicit 'this->' style. Using custom clang-tidy check we can
detect and fix places where 'this->' was missed.
2021-01-05 14:32:36 +02:00
Brad King b6ae9ddc41 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2021-01-05 (a72d59e1)
2021-01-05 06:56:08 -05:00
Kitware Robot 764ce15ffb CMake Nightly Date Stamp 2021-01-05 00:01:12 -05:00
Kitware Robot f1ca52d48e CMake Nightly Date Stamp 2021-01-04 00:01:12 -05:00
Kitware Robot 338778989d CMake Nightly Date Stamp 2021-01-03 00:01:07 -05:00
Kitware Robot 76c1ee7f16 CMake Nightly Date Stamp 2021-01-02 00:01:07 -05:00
Kitware Robot d6d67ba6c3 CMake Nightly Date Stamp 2021-01-01 00:01:07 -05:00
Kitware Robot 990692bb3f CMake Nightly Date Stamp 2020-12-31 00:01:10 -05:00
Kitware Robot 8d33e8672b CMake Nightly Date Stamp 2020-12-30 00:01:06 -05:00
Kitware Robot c2a8d9b94e CMake Nightly Date Stamp 2020-12-29 00:01:09 -05:00
Kitware Robot 6b1adada4c CMake Nightly Date Stamp 2020-12-28 00:01:18 -05:00
Kitware Robot da2474626b CMake Nightly Date Stamp 2020-12-27 00:01:08 -05:00
Marc Chevrier f5cdcd0606 Merge topic 'makefiles-custom_command-depfile'
3eacf857e3 Tests: Add case for DEPFILE in add_custom_command
cfd8a5ac1f Makefiles: Add support of DEPFILE for add_custom_command
a526f71266 cmGccDepfileReader: Add new function ensuring paths are valid

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5617
2020-12-26 05:55:55 -05:00
Kitware Robot fb6b2042f2 CMake Nightly Date Stamp 2020-12-26 00:01:07 -05:00
Kitware Robot 0e08a8552a CMake Nightly Date Stamp 2020-12-25 00:01:07 -05:00
Kitware Robot 67fe67248c CMake Nightly Date Stamp 2020-12-24 00:01:10 -05:00
Craig Scott ef5b3eff4e Merge topic 'xcode-inherit-paths'
5115e8b2b6 Xcode: Generalize inheritance of project-level search paths
6b6230b23b cmGlobalXCodeGenerator: Factor out helper to append attribute

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5637
2020-12-23 19:11:21 -05:00
Shannon Booth d43f4692e0 Ninja: Omit custom commands with an empty COMMAND
Fixes: #21063
2020-12-23 09:59:03 -05:00
Marc Chevrier cfd8a5ac1f Makefiles: Add support of DEPFILE for add_custom_command
Issue: #20286
Fixes: #21415
2020-12-23 15:47:46 +01:00
Marc Chevrier a526f71266 cmGccDepfileReader: Add new function ensuring paths are valid
And cmTransformDepfile now rely on this new function.
2020-12-23 14:40:19 +01:00
Kitware Robot 8c9c338e5e CMake Nightly Date Stamp 2020-12-23 00:01:11 -05:00
Brad King 72a28635b8 Merge topic 'issue-20134'
b68699b717 target_include_directories: Support AFTER option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5633
2020-12-22 09:13:08 -05:00
Brad King 3cf1a8c59b Merge topic 'issue-15653'
c3385dd8bd file(GENERATE): Support options to manipulate file permissions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5437
2020-12-22 09:12:20 -05:00
Brad King 60eaf95db0 Merge topic 'create_test_sourcelist-typo'
0273293047 create_test_sourcelist: fix typo in placeholder name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5632
2020-12-22 09:10:45 -05:00
Brad King 89115682b5 Merge topic 'apple-missing-framework'
9ab77201f7 Apple: Fix linking to frameworks that do not exist until build time

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5638
2020-12-22 09:08:52 -05:00
Brad King 5115e8b2b6 Xcode: Generalize inheritance of project-level search paths
Generalize the change from commit bffb17be3d (Xcode: Inherit target
library and framework search paths from project, 2020-11-04,
v3.19.0-rc3~4^2) to apply to framework and other kinds of search paths
added either for include directories or for linking.

Issue: #21617
2020-12-22 08:56:26 -05:00
Kitware Robot 814522ef4d CMake Nightly Date Stamp 2020-12-22 00:01:11 -05:00
Sergey Bronnikov 0273293047 create_test_sourcelist: fix typo in placeholder name
Rename `CMAKE_FUNCTION_TABLE_{ENTIRES => ENTRIES}`.
2020-12-21 13:45:12 -05:00
Brad King 9ab77201f7 Apple: Fix linking to frameworks that do not exist until build time
Fixes: #21621
2020-12-21 11:50:54 -05:00
Brad King 6b6230b23b cmGlobalXCodeGenerator: Factor out helper to append attribute 2020-12-21 10:19:45 -05:00
Brad King 05a59f37ab Merge topic 'ctest-test-dir'
dbcf86d24d Ctest: Support build tree on command line

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5623
2020-12-21 10:04:58 -05:00
Brad King bb87f40b55 Merge topic 'revert-write-through'
92021198e5 cmSystemTools: Revert use of MOVEFILE_WRITE_THROUGH by RenameFile on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5628
2020-12-21 10:00:18 -05:00
Asit Dhal c3385dd8bd file(GENERATE): Support options to manipulate file permissions
Fixes: #15653
2020-12-21 12:16:16 +01:00
Kitware Robot c89514a6a4 CMake Nightly Date Stamp 2020-12-21 00:01:12 -05:00
Kitware Robot bc78c212b7 CMake Nightly Date Stamp 2020-12-20 00:01:05 -05:00
Asit Dhal b68699b717 target_include_directories: Support AFTER option
Fixes: #20134
2020-12-19 14:51:39 +01:00
Kitware Robot d231f429f1 CMake Nightly Date Stamp 2020-12-19 00:01:18 -05:00
Kitware Robot 7280efeeeb CMake Nightly Date Stamp 2020-12-18 00:01:10 -05:00
Brad King 6d7621baea Merge topic 'qt-autogen-per-config'
20e4db4a66 cmGeneratorTarget: Make GetConfigCommonSourceFiles Xcode-specific
92d7b456e5 Autogen: Add support for per-config sources
3ffebbaefb Tests/QtAutogen: Forward build configuration in multi-config generators

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5624
2020-12-17 13:22:40 -05:00
Brad King 92021198e5 cmSystemTools: Revert use of MOVEFILE_WRITE_THROUGH by RenameFile on Windows
Revert commit d78c22aa64 (cmSystemTools: Improve RenameFile on Windows
with MOVEFILE_WRITE_THROUGH, 2020-08-25, v3.19.0-rc1~243^2~3).  Using
this flag causes the operation to fail frequently in some environments.
Drop it for now pending further investigation.

Fixes: #21571
2020-12-17 08:35:38 -05:00
Kitware Robot cf2486fada CMake Nightly Date Stamp 2020-12-17 00:01:08 -05:00
Asit Dhal dbcf86d24d Ctest: Support build tree on command line
Fixes: #21268
2020-12-17 05:01:03 +01:00
Brad King 20e4db4a66 cmGeneratorTarget: Make GetConfigCommonSourceFiles Xcode-specific
The Xcode generator is the only place left that we do not support
per-config sources.  Make the corresponding helper Xcode-specific to
avoid any other new uses.
2020-12-16 14:04:30 -05:00
Brad King 92d7b456e5 Autogen: Add support for per-config sources
Fixes: #20682
2020-12-16 14:04:30 -05:00