On Thursday 15 August 2013 09:52:39 hatred wrote: > 2013/8/14 Sven Goericke <[email protected]> > > > Hi, > > > > Hi Sven! > > > > > > 1. Instead of maintaing a "<project>.files" list with files belonging to > > the project define a set of file-extensions which should be used in the > > project. So you no longer need to update the <project>.files outside > > Creator but it will pickup all needed files on startup. > > > I think, this is wrong. My source tree can contain files that should not > > be used for indexing and they should not be displayed by IDE. I don't see > other way to do it than to create "<project>.files" list. >
Exactly! We use a make(1) target to generate the .includes and .files (and even the .creator and .config) I wondered if the output of `make -p` could be parsed gainfully. But I didn't actually work on this (as our "make target" solution satisfied us sufficiently and it can even be inserted in qtcreator's build process). > But, Dialog for initial adding files to the generic project is a very ugly: > I can point only exception mask. But in over 90% cases I need to point mask > like "*.[ch], *.[ch]pp, ./README.txt" and add some exceptions like: > "./3rd-party/**" -- Cristian Tibirna KDE developer .. [email protected] .. http://www.kde.org _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
