diff options
author | Bernhard Burgermeister <bburgerm@googlemail.com> | 2017-02-07 15:50:47 (GMT) |
---|---|---|
committer | Bernhard Burgermeister <bburgerm@googlemail.com> | 2017-04-25 07:32:50 (GMT) |
commit | 594d3d6fffac33062629bafb819a5df7c1326824 (patch) | |
tree | 33f63d977929a8d07464639534815633e1074fed /Source/cmSystemTools.h | |
parent | 8b0016ab658e2b96211c33055b8cf38b6d4a6d94 (diff) | |
download | CMake-594d3d6fffac33062629bafb819a5df7c1326824.zip CMake-594d3d6fffac33062629bafb819a5df7c1326824.tar.gz CMake-594d3d6fffac33062629bafb819a5df7c1326824.tar.bz2 |
Ninja: support response file for cmake_ninja_depends on Windows
The internal tool "cmake_ninja_depends" now supports reading the list of ddi
files from a reponse file to circumvent Windows command line length limits.
Use this response file for dyndep rule on Windows.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index a8a9995..255f608 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -253,6 +253,13 @@ public: static void ParseUnixCommandLine(const char* command, std::vector<std::string>& args); + /** + * Handle response file in an argument list and return a new argument list + * **/ + static std::vector<std::string> HandleResponseFile( + std::vector<std::string>::const_iterator argBeg, + std::vector<std::string>::const_iterator argEnd); + static size_t CalculateCommandLineLengthLimit(); static void EnableMessages() { s_DisableMessages = false; } |