summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
authorJim Miller <millerjv@crd.ge.com>2001-04-06 12:28:57 (GMT)
committerJim Miller <millerjv@crd.ge.com>2001-04-06 12:28:57 (GMT)
commit13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985 (patch)
tree074a87654521fe56e4a4c5f4a1958f7d925a40ee /Source/cmDSPWriter.cxx
parentee12876e2d4d986ee0baae091250d53dbc5e6aa0 (diff)
downloadCMake-13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985.zip
CMake-13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985.tar.gz
CMake-13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985.tar.bz2
FIX: configurations list needed to be reset for each dsp file created
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index f55474b..ac0688e 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -376,6 +376,10 @@ void cmDSPMakefile::SetBuildType(BuildType b)
{
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];
while(fin)
{