Em Tuesday, 7 de June de 2011, às 19:01:35, Nicolas Arnaud-Cormos escreveu: > > The IDE needs to be able to get the file listing from any project, it > > needs to build any project, it needs to get the compiler options > > (especially the preprocessor options, -I and -D) for every single file > > file, but it only need to write back to the project for simple projects > > (the threshold of simplicity is what we can make of it). If you need to > > hand-edit the CMakeLists.txt files in KDE to add new files or compiler > > options, that's fine. > > I kind of disagree here. Simple actions, like adding a new class to your > project, should be done automatically by the IDE. > If you want more power, for example adding a new class only for Windows, > then it's ok to edit the project file. > > Right now, it's a pity that we have to edit the CMakeLists.txt to add a > class generated by the wizard in Qt Creator. I would love to see more > integration here.
I think that's a needed use-case, yes, but only for simple CMakeLists.txt. If
you have something as complex as a KDE CMakeLists.txt, where the
"add_executable" default macro is replaced with something else, then you'll
need to hand-edit.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
