[Cmake-commits] [cmake-commits] alex committed cmExtraCodeBlocksGenerator.cxx 1.30 1.31
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 12 13:37:14 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv23017/Source
Modified Files:
cmExtraCodeBlocksGenerator.cxx
Log Message:
fix #9687
The CodeBlocks generator did not put all cmake files into the cmake tree of
the generated project. Patch from Daniel Teske.
Alex
Index: cmExtraCodeBlocksGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmExtraCodeBlocksGenerator.cxx,v
retrieving revision 1.30
retrieving revision 1.31
diff -C 2 -d -r1.30 -r1.31
*** cmExtraCodeBlocksGenerator.cxx 28 Sep 2009 15:42:25 -0000 1.30
--- cmExtraCodeBlocksGenerator.cxx 12 Oct 2009 17:37:09 -0000 1.31
***************
*** 264,272 ****
++it)
{
! // Convert
! std::vector<std::string> listFiles =
! it->second[0]->GetMakefile()->GetListFiles();
! for (std::vector<std::string>::const_iterator jt = listFiles.begin();
jt != listFiles.end();
++jt)
--- 264,280 ----
++it)
{
! // Collect all files
! std::vector<std::string> listFiles;
! for (std::vector<cmLocalGenerator *>::const_iterator
! jt = it->second.begin();
! jt != it->second.end();
! ++jt)
! {
! const std::vector<std::string> & files = (*jt)->GetMakefile()->GetListFiles();
! listFiles.insert(listFiles.end(), files.begin(), files.end());
! }
! // Convert
! for (std::vector<std::string>::const_iterator jt = listFiles.begin();
jt != listFiles.end();
++jt)
More information about the Cmake-commits
mailing list