summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-08 13:18:28 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-08 21:08:33 (GMT)
commitf9cc43ea37d8b4e2a482cb9004cec2bd8f824857 (patch)
tree59424f9b08e1778884e6074a8b466af2e1f387fa /Source/cmake.cxx
parent6e65808516994fe268c4ec87107fca6da6600a9c (diff)
downloadCMake-f9cc43ea37d8b4e2a482cb9004cec2bd8f824857.zip
CMake-f9cc43ea37d8b4e2a482cb9004cec2bd8f824857.tar.gz
CMake-f9cc43ea37d8b4e2a482cb9004cec2bd8f824857.tar.bz2
cmake: remove unnused member Verbose
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 605da81..b763426 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -145,7 +145,6 @@ cmake::cmake()
}
#endif
- this->Verbose = false;
this->GlobalGenerator = 0;
this->ProgressCallback = 0;
this->ProgressCallbackClientData = 0;
@@ -555,9 +554,7 @@ void cmake::SetArgs(const std::vector<std::string>& args,
this->VSSolutionFile = args[++i];
}
#endif
- else if (arg.find("-V", 0) == 0) {
- this->Verbose = true;
- } else if (arg.find("-D", 0) == 0) {
+ else if (arg.find("-D", 0) == 0) {
// skip for now
} else if (arg.find("-U", 0) == 0) {
// skip for now
@@ -1989,9 +1986,7 @@ int cmake::GetSystemInformation(std::vector<std::string>& args)
bool writeToStdout = true;
for (unsigned int i = 1; i < args.size(); ++i) {
std::string arg = args[i];
- if (arg.find("-V", 0) == 0) {
- this->Verbose = true;
- } else if (arg.find("-G", 0) == 0) {
+ if (arg.find("-G", 0) == 0) {
std::string value = arg.substr(2);
if (value.empty()) {
++i;