cmLocalNinjaGenerator: Prevent echoing of lines in ninja generated batch files

This commit is contained in:
Mark O'Neill 2018-12-04 12:37:06 +00:00
parent 2c3f2dfa5a
commit cfd808ff19

View File

@ -319,6 +319,7 @@ std::string cmLocalNinjaGenerator::WriteCommandScript(
cmsys::ofstream script(scriptPath.c_str());
#ifdef _WIN32
script << "@echo off\n";
int line = 1;
#else
script << "set -e\n\n";