You can use PRE_TARGETDEPS in the subdirs' .pro files to watch for individual files to be modified.
/s/ Adam On Wed, Dec 16, 2009 at 7:21 PM, John Vilburn <[email protected]> wrote: > I have a .pro file that looks like this: > > TEMPLATE = subdirs > CONFIG += ordered > SUBDIRS = Project1 \ > Project2 \ > Project3 > > Some of the .h files in Project1 are used in Project2 and Project3. When I > change one of those header files and do a build, only the files in Project1 > get rebuilt. Is there a way to have qmake or Qt Creator notice those > dependencies and rebuild the appropriate files in Project 2 and 3? Including > the .h files from Project1 in the list of headers of Project2 and 3 would > work, I suppose. But there must be a better way. > > Thanks, > John > > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator > _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
