summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-22 15:15:38 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-03-22 15:15:38 (GMT)
commit2f9e6551c02d0b189732c2a798f8b6aa4afa2313 (patch)
tree55bd7c66e852d1193def8006eb631d053221e309 /Help
parent88450a6ac3bd2b33d9bc4b8f97c0915d6d4ffe77 (diff)
parent9ead71df66ef41e30e75f91d059e16881c942652 (diff)
downloadCMake-2f9e6551c02d0b189732c2a798f8b6aa4afa2313.zip
CMake-2f9e6551c02d0b189732c2a798f8b6aa4afa2313.tar.gz
CMake-2f9e6551c02d0b189732c2a798f8b6aa4afa2313.tar.bz2
Merge topic 'ninja-directory-targets'
9ead71df Help: Add notes for topic 'ninja-directory-targets' e9bf8ec8 Ninja: Add test for `$subdir/all` targets ca575fe9 Ninja: Add `$subdir/all` targets
Diffstat (limited to 'Help')
-rw-r--r--Help/generator/Ninja.rst4
-rw-r--r--Help/release/dev/ninja-directory-targets.rst7
2 files changed, 11 insertions, 0 deletions
diff --git a/Help/generator/Ninja.rst b/Help/generator/Ninja.rst
index 920abcb..d94e5f6 100644
--- a/Help/generator/Ninja.rst
+++ b/Help/generator/Ninja.rst
@@ -6,3 +6,7 @@ Generates build.ninja files.
A build.ninja file is generated into the build tree. Recent versions
of the ninja program can build the project through the "all" target.
An "install" target is also provided.
+
+For each subdirectory ``sub/dir`` of the project an additional target
+named ``sub/dir/all`` is generated that depends on all targets required
+by that subdirectory.
diff --git a/Help/release/dev/ninja-directory-targets.rst b/Help/release/dev/ninja-directory-targets.rst
new file mode 100644
index 0000000..4826228
--- /dev/null
+++ b/Help/release/dev/ninja-directory-targets.rst
@@ -0,0 +1,7 @@
+ninja-directory-targets
+-----------------------
+
+* The :generator:`Ninja` generator learned to produce phony targets
+ of the form ``sub/dir/all`` to drive the build of a subdirectory.
+ This is equivalent to ``cd sub/dir; make all`` with
+ :ref:`Makefile Generators`.