summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-01-17 14:28:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-01-17 14:28:39 (GMT)
commit26f5ac3b493cdef40e67ec6c2be4a81c3d9fa8bc (patch)
tree48c5399bb2776ec8ddc7252779ffc22a54c736c7 /Source/cmDSPWriter.cxx
parente0d02e10b5fd76a4bb3a9557e80914b438ab64c3 (diff)
downloadCMake-26f5ac3b493cdef40e67ec6c2be4a81c3d9fa8bc.zip
CMake-26f5ac3b493cdef40e67ec6c2be4a81c3d9fa8bc.tar.gz
CMake-26f5ac3b493cdef40e67ec6c2be4a81c3d9fa8bc.tar.bz2
BUG: allow header files to be added to the dsp file
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index 2d4b885..25194c4 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -228,14 +228,11 @@ void cmDSPWriter::WriteDSPFile(std::ostream& fout,
for(std::vector<cmSourceFile>::iterator i = classes.begin();
i != classes.end(); i++)
{
- if(!i->IsAHeaderFileOnly())
- {
- // Add the file to the list of sources.
- std::string source = i->GetFullPath();
- cmSourceGroup& sourceGroup = m_Makefile->FindSourceGroup(source.c_str(),
- sourceGroups);
- sourceGroup.AddSource(source.c_str());
- }
+ // Add the file to the list of sources.
+ std::string source = i->GetFullPath();
+ cmSourceGroup& sourceGroup = m_Makefile->FindSourceGroup(source.c_str(),
+ sourceGroups);
+ sourceGroup.AddSource(source.c_str());
}
// add any custom rules to the source groups