summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorCharles Huet <charles.huet@gmail.com>2016-03-11 15:26:29 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-18 14:59:01 (GMT)
commitca575fe9355a2be2b9fadcc84b05bcfa095c5e64 (patch)
tree77457921fa1646f190a7b2012a850e7f7a37a7e1 /Tests/RunCMake
parent9cdb37e9175b2e3c6367bc4863fda0404cb1c3a2 (diff)
downloadCMake-ca575fe9355a2be2b9fadcc84b05bcfa095c5e64.zip
CMake-ca575fe9355a2be2b9fadcc84b05bcfa095c5e64.tar.gz
CMake-ca575fe9355a2be2b9fadcc84b05bcfa095c5e64.tar.bz2
Ninja: Add `$subdir/all` targets
With the Makefile generator one can use `cd $subdir; make all` to build all targets associated with a given subdirectory. This is not possible to do with the Ninja generator since there is only one `build.ninja` file at the top of the build tree. However, we can approximate it by allowing one to run `ninja $subdir/all` at the top of the tree to build the targets in the corresponding subdirectory. Port logic from cmGlobalUnixMakefileGenerator3::WriteDirectoryRule2 to cmGlobalNinjaGenerator in order to produce equivalent directory-level targets.
Diffstat (limited to 'Tests/RunCMake')
0 files changed, 0 insertions, 0 deletions