| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 2 | |
Hi, I would like to set some make flags in my .pro file and have qmake pass these flags down to make. Specifically, I would like to set the -j option. However, I am unable to find any reference in the documentation for make command line options. Suggestions? I am using: QMake version 2.01a Using Qt version 4.2.3 in /usr/lib/qt4/lib Thanks! Brett -- [ signature omitted ]
On Tuesday 11 December 2007 15:50:41 Brett L. Moore wrote: > I would like to set some make flags in my .pro file and have qmake pass > these flags down to make. ÂSpecifically, I would like to set the -j > option. However, I am unable to find any reference in the documentation > for make command line options. ÂSuggestions? You do that when you run make: $ qmake $ make -j40 Or, even better: $ export MAKEFLAGS=-j40 $ qmake $ make This is what I do for my application builds here in the office. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
I was simply typing "make -j" - but I assumed there was a more elegant method :) Thanks! On Tue, 11 Dec 2007 15:57:52 +0100, Thiago Macieira wrote: > On Tuesday 11 December 2007 15:50:41 Brett L. Moore wrote: >> I would like to set some make flags in my .pro file and have qmake pass >> these flags down to make. ÂSpecifically, I would like to set the -j >> option. However, I am unable to find any reference in the documentation >> for make command line options. ÂSuggestions? > > You do that when you run make: > > $ qmake > $ make -j40 > > Or, even better: > > $ export MAKEFLAGS=-j40 > $ qmake > $ make > > This is what I do for my application builds here in the office. > -- [ signature omitted ]