On Feb 3, 2010, at 9:42 AM, Hunger Tobias (Nokia-D/Berlin) wrote: > On 02.02.2010 19:22, ext Danny Price wrote: > [...] >> I have to set build settings and project dependencies (where >> possible) in the .pro files. > > Yes, information meant to be shared in a team is better kept in the > build system itself. Dependencies can e.g. get encoded by SUBDIRS > template in .pro-files (which can then be shared in a team).
And doing that you can even get the most out of parallel compilation, because if you define the dependencies in the build system, the build system will be able to figure out what parts can actually be done in parallel. Have a look at Qt Creator's src/plugins/plugins.pro . http://qt.gitorious.org/qt-creator/qt-creator/blobs/master/src/plugins/plugins.pro As a side note: "SUBDIRS" is a bit misleading, because you actually can specify any pro files as well: SUBDIRS = part1.pro part2.pro relativepath/part3.pro -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
