Resolve warnings about used enum values in switch blocks.
This commit is contained in:
parent
bd8bdb6fdd
commit
9f16d428a1
|
@ -710,6 +710,8 @@ void cmLocalVisualStudio6Generator::SetBuildType(BuildType b,
|
|||
|
||||
switch(b)
|
||||
{
|
||||
case WIN32_EXECUTABLE:
|
||||
break;
|
||||
case STATIC_LIBRARY:
|
||||
this->DSPHeaderTemplate = root;
|
||||
this->DSPHeaderTemplate += "/staticLibHeader.dsptemplate";
|
||||
|
|
|
@ -1003,6 +1003,8 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
|
|||
}
|
||||
switch(target.GetType())
|
||||
{
|
||||
case cmTarget::UNKNOWN_LIBRARY:
|
||||
break;
|
||||
case cmTarget::OBJECT_LIBRARY:
|
||||
{
|
||||
std::string libpath = this->GetTargetDirectory(target);
|
||||
|
|
|
@ -404,6 +404,9 @@ void cmVisualStudio10TargetGenerator::WriteProjectConfigurationValues()
|
|||
case cmTarget::UTILITY:
|
||||
configType += "Utility";
|
||||
break;
|
||||
case cmTarget::GLOBAL_TARGET:
|
||||
case cmTarget::UNKNOWN_LIBRARY:
|
||||
break;
|
||||
}
|
||||
configType += "</ConfigurationType>\n";
|
||||
this->WriteString(configType.c_str(), 2);
|
||||
|
|
Loading…
Reference in New Issue