ENH: Added INSTALL target to switch in OutputDSPFile. Also added a default that prints out an error message so that anyone who adds a target doesn't forget to update the switch.
This commit is contained in:
parent
1f6057e864
commit
566c8d4ba0
|
@ -106,6 +106,11 @@ void cmDSPMakefile::OutputDSPFile()
|
|||
case cmTarget::UTILITY:
|
||||
this->SetBuildType(UTILITY, l->first.c_str());
|
||||
break;
|
||||
case cmTarget::INSTALL:
|
||||
break;
|
||||
default:
|
||||
cmSystemTools::Error("Bad target type", l->first.c_str());
|
||||
break;
|
||||
}
|
||||
if (l->second.GetType() != cmTarget::INSTALL)
|
||||
{
|
||||
|
|
|
@ -106,6 +106,11 @@ void cmDSPMakefile::OutputDSPFile()
|
|||
case cmTarget::UTILITY:
|
||||
this->SetBuildType(UTILITY, l->first.c_str());
|
||||
break;
|
||||
case cmTarget::INSTALL:
|
||||
break;
|
||||
default:
|
||||
cmSystemTools::Error("Bad target type", l->first.c_str());
|
||||
break;
|
||||
}
|
||||
if (l->second.GetType() != cmTarget::INSTALL)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue