mirror of
https://github.com/reactos/CMake.git
synced 2025-01-21 02:45:05 +00:00
Sublime: Do not build with verbose output
Remove the hard-coded use of `make VERBOSE=1` and `ninja -v`.
This commit is contained in:
parent
0a9e4e08b5
commit
154def305e
6
Help/release/dev/SublimeText-no-VERBOSE.rst
Normal file
6
Help/release/dev/SublimeText-no-VERBOSE.rst
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
SublimeText-no-VERBOSE
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
* The :generator:`Sublime Text 2` generator no longer runs the native
|
||||||
|
build command (e.g. ``ninja`` or ``make``) with verbose build output
|
||||||
|
enabled.
|
@ -323,16 +323,12 @@ std::string cmExtraSublimeTextGenerator::BuildMakeCommand(
|
|||||||
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
|
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
|
||||||
command += ", \"/NOLOGO\", \"/f\", \"";
|
command += ", \"/NOLOGO\", \"/f\", \"";
|
||||||
command += makefileName + "\"";
|
command += makefileName + "\"";
|
||||||
command += ", \"VERBOSE=1\", \"";
|
command += ", \"" + target + "\"";
|
||||||
command += target;
|
|
||||||
command += "\"";
|
|
||||||
} else if (generator == "Ninja") {
|
} else if (generator == "Ninja") {
|
||||||
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
|
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
|
||||||
command += ", \"-f\", \"";
|
command += ", \"-f\", \"";
|
||||||
command += makefileName + "\"";
|
command += makefileName + "\"";
|
||||||
command += ", \"-v\", \"";
|
command += ", \"" + target + "\"";
|
||||||
command += target;
|
|
||||||
command += "\"";
|
|
||||||
} else {
|
} else {
|
||||||
std::string makefileName;
|
std::string makefileName;
|
||||||
if (generator == "MinGW Makefiles") {
|
if (generator == "MinGW Makefiles") {
|
||||||
@ -344,9 +340,7 @@ std::string cmExtraSublimeTextGenerator::BuildMakeCommand(
|
|||||||
}
|
}
|
||||||
command += ", \"-f\", \"";
|
command += ", \"-f\", \"";
|
||||||
command += makefileName + "\"";
|
command += makefileName + "\"";
|
||||||
command += ", \"VERBOSE=1\", \"";
|
command += ", \"" + target + "\"";
|
||||||
command += target;
|
|
||||||
command += "\"";
|
|
||||||
}
|
}
|
||||||
return command;
|
return command;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user