summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.h
diff options
context:
space:
mode:
authorSylvain Joubert <joubert.sy@gmail.com>2014-10-02 19:21:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-10-03 12:48:47 (GMT)
commit9f32a2411b35df1d80a65a3e27e9db6faf959c91 (patch)
tree590110a64a55551693e031871f02f89d22dc0ceb /Source/cmLocalNinjaGenerator.h
parent99d34f46fa394a9daabb7ca959e1540ae3a41ef2 (diff)
downloadCMake-9f32a2411b35df1d80a65a3e27e9db6faf959c91.zip
CMake-9f32a2411b35df1d80a65a3e27e9db6faf959c91.tar.gz
CMake-9f32a2411b35df1d80a65a3e27e9db6faf959c91.tar.bz2
Ninja: Use 'console' pool for CMake re-run if possible (#14915)
The pre-defined 'console' pool is a non-buffered pool that runs with a depth of 1. CMake re-run cannot be run concurrently and it will eventually output something. A non-buffered pool allows to get it as soon as possible Also, generate the minimal required version of Ninja in the build file.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.h')
-rw-r--r--Source/cmLocalNinjaGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalNinjaGenerator.h b/Source/cmLocalNinjaGenerator.h
index 11321b8..c787ac6 100644
--- a/Source/cmLocalNinjaGenerator.h
+++ b/Source/cmLocalNinjaGenerator.h
@@ -117,6 +117,7 @@ private:
void WriteBuildFileTop();
void WriteProjectHeader(std::ostream& os);
+ void WriteNinjaRequiredVersion(std::ostream& os);
void WriteNinjaFilesInclusion(std::ostream& os);
void WriteProcessedMakefile(std::ostream& os);
void WritePools(std::ostream& os);