summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Collins <the.hungarian@gmail.com>2016-12-16 17:41:55 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-10 15:52:48 (GMT)
commit154def305e7a95d9280573b053170b17539c9f69 (patch)
treeba4f24e2a00563bada7b31b953f13315c46c506b
parent0a9e4e08b5d275fa20190509d6b1448f360461a8 (diff)
downloadCMake-154def305e7a95d9280573b053170b17539c9f69.zip
CMake-154def305e7a95d9280573b053170b17539c9f69.tar.gz
CMake-154def305e7a95d9280573b053170b17539c9f69.tar.bz2
Sublime: Do not build with verbose output
Remove the hard-coded use of `make VERBOSE=1` and `ninja -v`.
-rw-r--r--Help/release/dev/SublimeText-no-VERBOSE.rst6
-rw-r--r--Source/cmExtraSublimeTextGenerator.cxx12
2 files changed, 9 insertions, 9 deletions
diff --git a/Help/release/dev/SublimeText-no-VERBOSE.rst b/Help/release/dev/SublimeText-no-VERBOSE.rst
new file mode 100644
index 0000000..70dfa2b
--- /dev/null
+++ b/Help/release/dev/SublimeText-no-VERBOSE.rst
@@ -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.
diff --git a/Source/cmExtraSublimeTextGenerator.cxx b/Source/cmExtraSublimeTextGenerator.cxx
index dfefefe..36ba520 100644
--- a/Source/cmExtraSublimeTextGenerator.cxx
+++ b/Source/cmExtraSublimeTextGenerator.cxx
@@ -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;
}