summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsCompiler.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: add_custom_command(DEPFILE): Ensure dependencies consistencyMarc Chevrier2021-01-191-11/+2
| | | | Fixes: #21694
* Merge topic 'explicit-this-fix'Brad King2021-01-061-2/+2
|\ | | | | | | | | | | | | 209daa20b2 Code style: add missed explicit 'this->' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5400
| * Code style: add missed explicit 'this->'Oleksandr Koval2021-01-051-2/+2
| | | | | | | | | | CMake uses explicit 'this->' style. Using custom clang-tidy check we can detect and fix places where 'this->' was missed.
* | cmDepends: merge dependers of depend makefileKai Wang2021-01-051-5/+14
|/ | | | | | | | | | | 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>
* Makefiles: Add support of DEPFILE for add_custom_commandMarc Chevrier2020-12-231-47/+86
| | | | | Issue: #20286 Fixes: #21415
* cmDependsCompiler: rely now on cmGccDepfileReader for depfile parserMarc Chevrier2020-12-111-79/+14
| | | | | | To avoid duplicate effort of depfile parsing and enhance robustness of parsing against mal-formed depfiles in preparation of DEPFILE option support of add_custom_command command for makefiles generators.
* Makefiles dependencies: enhance robustness of deps parserMarc Chevrier2020-12-031-1/+12
|
* Makefiles Generators: use compiler for dependencies generationMarc Chevrier2020-11-291-0/+267
Each source compilation generates a dependencies file. These dependencies files are consolidated in one file per target. This consolidation is done as part of command 'cmake -E cmake_depends` launched before evaluation of makefile dependency graph. The consolidation uses the same approach as `CMake` dependencies management. Fixes: #21321