mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-23 07:28:51 -06:00
Merge topic 'SublimeText-no-VERBOSE'
154def30 Sublime: Do not build with verbose output
This commit is contained in:
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);
|
||||
command += ", \"/NOLOGO\", \"/f\", \"";
|
||||
command += makefileName + "\"";
|
||||
command += ", \"VERBOSE=1\", \"";
|
||||
command += target;
|
||||
command += "\"";
|
||||
command += ", \"" + target + "\"";
|
||||
} else if (generator == "Ninja") {
|
||||
std::string makefileName = cmSystemTools::ConvertToOutputPath(makefile);
|
||||
command += ", \"-f\", \"";
|
||||
command += makefileName + "\"";
|
||||
command += ", \"-v\", \"";
|
||||
command += target;
|
||||
command += "\"";
|
||||
command += ", \"" + target + "\"";
|
||||
} else {
|
||||
std::string makefileName;
|
||||
if (generator == "MinGW Makefiles") {
|
||||
@@ -344,9 +340,7 @@ std::string cmExtraSublimeTextGenerator::BuildMakeCommand(
|
||||
}
|
||||
command += ", \"-f\", \"";
|
||||
command += makefileName + "\"";
|
||||
command += ", \"VERBOSE=1\", \"";
|
||||
command += target;
|
||||
command += "\"";
|
||||
command += ", \"" + target + "\"";
|
||||
}
|
||||
return command;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user