FIX: configurations list needed to be reset for each dsp file created

This commit is contained in:
Jim Miller 2001-04-06 08:28:57 -04:00
parent ee12876e2d
commit 13b8be3fb7
2 changed files with 8 additions and 0 deletions

View File

@ -376,6 +376,10 @@ void cmDSPMakefile::SetBuildType(BuildType b)
{ {
cmSystemTools::Error("Error Reading ", m_DSPHeaderTemplate.c_str()); cmSystemTools::Error("Error Reading ", m_DSPHeaderTemplate.c_str());
} }
// reset m_Configurations
m_Configurations.erase(m_Configurations.begin(), m_Configurations.end());
// now add all the configurations possible
char buffer[2048]; char buffer[2048];
while(fin) while(fin)
{ {

View File

@ -376,6 +376,10 @@ void cmDSPMakefile::SetBuildType(BuildType b)
{ {
cmSystemTools::Error("Error Reading ", m_DSPHeaderTemplate.c_str()); cmSystemTools::Error("Error Reading ", m_DSPHeaderTemplate.c_str());
} }
// reset m_Configurations
m_Configurations.erase(m_Configurations.begin(), m_Configurations.end());
// now add all the configurations possible
char buffer[2048]; char buffer[2048];
while(fin) while(fin)
{ {