fix #9687
The CodeBlocks generator did not put all cmake files into the cmake tree of the generated project. Patch from Daniel Teske. Alex
This commit is contained in:
parent
bf0e67fea3
commit
03d55fb4c7
|
@ -263,10 +263,18 @@ void cmExtraCodeBlocksGenerator
|
|||
it != this->GlobalGenerator->GetProjectMap().end();
|
||||
++it)
|
||||
{
|
||||
// Convert
|
||||
std::vector<std::string> listFiles =
|
||||
it->second[0]->GetMakefile()->GetListFiles();
|
||||
// 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)
|
||||
|
|
Loading…
Reference in New Issue