diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-01-17 14:28:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-01-17 14:28:39 (GMT) |
commit | 26f5ac3b493cdef40e67ec6c2be4a81c3d9fa8bc (patch) | |
tree | 48c5399bb2776ec8ddc7252779ffc22a54c736c7 /Source/cmDSPWriter.cxx | |
parent | e0d02e10b5fd76a4bb3a9557e80914b438ab64c3 (diff) | |
download | CMake-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.cxx | 13 |
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 |