From 26f5ac3b493cdef40e67ec6c2be4a81c3d9fa8bc Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 17 Jan 2002 09:28:39 -0500 Subject: [PATCH] BUG: allow header files to be added to the dsp file --- Source/cmDSPWriter.cxx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 2d4b8857f..25194c418 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -228,14 +228,11 @@ void cmDSPWriter::WriteDSPFile(std::ostream& fout, for(std::vector::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