summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-11 17:52:54 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-11 17:52:54 (GMT)
commit78232180f4d2e0bbaeba42ec6c0ebbd471b8c1c0 (patch)
tree35aa087cf51e00da23b6cca5b404ed7f886ef6a7 /Source/cmDSPWriter.cxx
parentd9858fea3b5524eebc73213c29e5019314bd444c (diff)
downloadCMake-78232180f4d2e0bbaeba42ec6c0ebbd471b8c1c0.zip
CMake-78232180f4d2e0bbaeba42ec6c0ebbd471b8c1c0.tar.gz
CMake-78232180f4d2e0bbaeba42ec6c0ebbd471b8c1c0.tar.bz2
fix for expanding library vars
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index 397c691..0055276 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -163,6 +163,8 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
const char *libName,
cmTarget &target)
{
+ target.GenerateSourceFilesFromSourceLists(*m_Makefile);
+
// Write the DSP file's header.
this->WriteDSPHeader(fout, libName, target);
@@ -170,7 +172,6 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout,
std::vector<cmSourceGroup> sourceGroups = m_Makefile->GetSourceGroups();
// get the classes from the source lists then add them to the groups
- target.GenerateSourceFilesFromSourceLists(*m_Makefile);
std::vector<cmSourceFile> classes = target.GetSourceFiles();
for(std::vector<cmSourceFile>::iterator i = classes.begin();
i != classes.end(); i++)