[Cmake-commits] [cmake-commits] clinton committed QCMake.cxx 1.26 1.27
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Aug 10 14:32:10 EDT 2009
Update of /cvsroot/CMake/CMake/Source/QtDialog
In directory public:/mounts/ram/cvs-serv7302
Modified Files:
QCMake.cxx
Log Message:
ENH: Patch from Alexander Neundorf to remove "KDevelop3" from list of generators. "KDevelop3 - Unix Makefiles" should be used instead.
Index: QCMake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/QCMake.cxx,v
retrieving revision 1.26
retrieving revision 1.27
diff -C 2 -d -r1.26 -r1.27
*** QCMake.cxx 30 Mar 2009 20:34:28 -0000 1.26
--- QCMake.cxx 10 Aug 2009 18:32:08 -0000 1.27
***************
*** 68,71 ****
--- 68,80 ----
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());
}
More information about the Cmake-commits
mailing list