summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Make
Commit message (Collapse)AuthorAgeFilesLines
* Makefiles: Add support of DEPFILE for add_custom_commandMarc Chevrier2020-12-234-15/+0
| | | | | Issue: #20286 Fixes: #21415
* Makefiles Generators: use compiler for dependencies generationMarc Chevrier2020-11-299-26/+26
| | | | | | | | | | | 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
* Tests: Add RunCMake.Make case for conflicting Makefile namesBrad King2020-11-162-0/+13
| | | | Issue: #21418
* Makefile: Add policy CMP0113 to avoid duplication of custom commandsBrad King2020-09-0811-0/+55
| | | | | | | | | | | | | | | | | Do not attach a custom command to a target if it is already attached to one of the target's dependencies. The command's output will be available by the time the target needs it because the dependency containing the command will have already been built. This may break existing projects that do not properly mark non-created outputs with the `SYMBOLIC` property. Previously a chain of two custom commands whose intermediate dependency is not created would put both commands in a dependent project's Makefile even if the first command is also in its dependency's Makefile. The first command would run twice but the build would work. Now the second command needs an explicit `SYMBOLIC` mark on its input to tell CMake that it is not expected to exist. To maintain compatibility with projects that left out the mark, add a policy activating the behavior.
* Tests: Set LC_MESSAGES for RunCMake.MakeKyle Edwards2020-08-081-0/+3
| | | | | LANG was already set, but is not enough on some systems. Set LC_MESSAGES too.
* Tests: fix RunCMake.Make test when run on systems with non-english localeRolf Eike Beer2020-02-261-0/+3
| | | | | | Set `LANG=C` in the environment so the output of `make` is predictable. Fixes: #19689
* cmake: Add tests for verbose output to --build modeRobert Maynard2019-01-286-0/+35
|
* include_regular_expression: Fix propagation to subdirectoriesBrad King2018-01-244-0/+9
| | | | | | | | | | | | | | Refactoring in commit v3.4.0-rc1~321^2 (cmMakefile: Remove special handling of INCLUDE_REGULAR_EXPRESSION, 2015-04-04) accidentally broke propagation of the include regex to subdirectories. Refactoring in commit v3.5.0-rc1~319^2~1 (cmState: Initialize properties immediately, 2015-10-07) moved maintenance of this value from `cmMakefile` to `cmStateSnapshot`. Restore propagation of the `INCLUDE_REGULAR_EXPRESSION` to subdirectories and add a test to cover it. Fixes: #17676
* add_custom_command: Add DEPFILE option for NinjaKulla Christoph2016-08-304-0/+16
| | | | | | | | Provide a way for custom commands to inform the ninja build tool about their implicit dependencies. For now simply make use of the option an error on other generators. Closes: #15479
* Tests: Add test for TARGET_MESSAGES global propertyBrad King2015-07-1410-0/+52