[Interest] Pre-compile system

Ola Røer Thorsen ola at silentwings.no
Tue Feb 24 09:12:57 CET 2015


2015-02-24 8:51 GMT+01:00 Mathieu Slabbinck <matty.slabbinck at gmail.com>:

>
> 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 = SomeLibrary TheApplication
TheApplication.depends = SomeLibrary

This will make sure that TheApplication is built after SomeLibrary, also
with -j4.

Best regards,
Ola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150224/216c4b01/attachment.html>


More information about the Interest mailing list