|
|
@@ -85,17 +85,15 @@ void cmVisualStudioGeneratorOptions::SetVerboseMakefile(bool verbose)
|
|
|
// was not given explicitly in the flags we want to add an attribute
|
|
|
// to the generated project to disable logo suppression. Otherwise
|
|
|
// the GUI default is to enable suppression.
|
|
|
+ //
|
|
|
+ // Avoid this on Visual Studio 10 (and later!) because it results in:
|
|
|
+ // "cl ... warning D9035: option 'nologo-' has been deprecated"
|
|
|
+ //
|
|
|
if(verbose &&
|
|
|
+ this->Version != 10 &&
|
|
|
this->FlagMap.find("SuppressStartupBanner") == this->FlagMap.end())
|
|
|
{
|
|
|
- if(this->Version == 10)
|
|
|
- {
|
|
|
- this->FlagMap["SuppressStartupBanner"] = "false";
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- this->FlagMap["SuppressStartupBanner"] = "FALSE";
|
|
|
- }
|
|
|
+ this->FlagMap["SuppressStartupBanner"] = "FALSE";
|
|
|
}
|
|
|
}
|
|
|
|