Re: [Interest] Pre-compile system

2015-02-24 Thread Mathieu Slabbinck
On Tue, Feb 24, 2015 at 9:12 AM, Ola Røer Thorsen wrote: > > > 2015-02-24 8:51 GMT+01:00 Mathieu Slabbinck : >> >> >> So my question here: how can I make a qt project that compiles libx >> before starting on the app itself, disregarding multiple jobs. >> > > Hi, I think doing something like this i

Re: [Interest] Pre-compile system

2015-02-24 Thread Thiago Macieira
On Tuesday 24 February 2015 08:51:53 Mathieu Slabbinck wrote: > The sequential build I've managed to get right with the use of the > subdirs template. > But, this system only works when only using one compile job at a time. > Using for example make -j 4 will start the libx compilation as the > firs

Re: [Interest] Pre-compile system

2015-02-24 Thread Ola Røer Thorsen
2015-02-24 8:51 GMT+01:00 Mathieu Slabbinck : > > So my question here: how can I make a qt project that compiles libx > before starting on the app itself, disregarding multiple jobs. > > Hi, I think doing something like this in your subdir project file will help: TEMPLATE = subdirs SUBDIRS = Some

[Interest] Pre-compile system

2015-02-23 Thread Mathieu Slabbinck
Hi, I have a Qt project that uses an external library (linux). The external lib is built statically from source each time using a shell script. To include the lib in the project, I've created a .pri file that defines libx like follows: libx.name = libx libx.target = $$PWD/libx_buil