CMake/Tests/RunCMake/Ninja
Brad King 0278989405 Ninja: Add `$subdir/{test,install,package}` targets
With the Makefile generator one can use `cd $subdir; make install` to build and
install 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/install` at the top of the tree to build the targets in the
corresponding subdirectory and install them.

This also makes sense for `test`, `package`, and other GLOBAL_TARGET targets.
It was already done for `all` by commit v3.6.0-rc1~240^2~2 (Ninja: Add
`$subdir/all` targets, 2016-03-11).
2016-08-09 15:15:24 -04:00
..
SubDir Ninja: Add `$subdir/{test,install,package}` targets 2016-08-09 15:15:24 -04:00
SubDirPrefix Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
CMP0058-NEW-by-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-by.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-no-build-result.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-no-build-stderr.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-no.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-by-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-by.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-no-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-no.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-by-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-by.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-no-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-no-stderr.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-no.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-common.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMakeLists.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CheckNoPrefixSubDir.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
CheckNoPrefixSubDirScript.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
CheckOutput.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
CustomCommandWorkingDirectory.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
Executable.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
RunCMakeTest.cmake Ninja: Add `$subdir/{test,install,package}` targets 2016-08-09 15:15:24 -04:00
SharedLib.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
StaticLib.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
SubDir-build-stdout.txt Ninja: Add test for `$subdir/all` targets 2016-03-22 08:01:14 -04:00
SubDir-install-stdout.txt Ninja: Add `$subdir/{test,install,package}` targets 2016-08-09 15:15:24 -04:00
SubDir-test-stdout.txt Ninja: Add `$subdir/{test,install,package}` targets 2016-08-09 15:15:24 -04:00
SubDir.cmake Ninja: Add `$subdir/{test,install,package}` targets 2016-08-09 15:15:24 -04:00
SubDirPrefix.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
TwoLibs.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting.h Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting2.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting2.h Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello_sub_greeting.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello_with_greeting.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello_with_two_greetings.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00