ENH: Patch from Alexander Neundorf to remove "KDevelop3" from list of generators. "KDevelop3 - Unix Makefiles" should be used instead.

This commit is contained in:
Clinton Stimpson 2009-08-10 14:32:08 -04:00
parent 37805ff81c
commit e50903248f
1 changed files with 9 additions and 0 deletions

View File

@ -67,6 +67,15 @@ QCMake::QCMake(QObject* p)
std::vector<std::string>::iterator iter;
for(iter = generators.begin(); iter != generators.end(); ++iter)
{
// Skip the generator "KDevelop3", since there is also
// "KDevelop3 - Unix Makefiles", which is the full and official name.
// The short name is actually only still there since this was the name
// in CMake 2.4, to keep "command line argument compatibility", but
// this is not necessary in the GUI.
if (*iter == "KDevelop3")
{
continue;
}
this->AvailableGenerators.append(iter->c_str());
}
}