diff options
author | Jim Miller <millerjv@crd.ge.com> | 2001-04-06 12:28:57 (GMT) |
---|---|---|
committer | Jim Miller <millerjv@crd.ge.com> | 2001-04-06 12:28:57 (GMT) |
commit | 13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985 (patch) | |
tree | 074a87654521fe56e4a4c5f4a1958f7d925a40ee | |
parent | ee12876e2d4d986ee0baae091250d53dbc5e6aa0 (diff) | |
download | CMake-13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985.zip CMake-13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985.tar.gz CMake-13b8be3fb7d0e9f868ec9c9a75d2aa5fe00a7985.tar.bz2 |
FIX: configurations list needed to be reset for each dsp file created
-rw-r--r-- | Source/cmDSPMakefile.cxx | 4 | ||||
-rw-r--r-- | Source/cmDSPWriter.cxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx index f55474b..ac0688e 100644 --- a/Source/cmDSPMakefile.cxx +++ b/Source/cmDSPMakefile.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) { 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) { |