xcode: Move Qt preprocessor steps to separate target
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>
Thu, 24 Oct 2013 12:47:26 +0000 (14:47 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 25 Oct 2013 12:51:30 +0000 (14:51 +0200)
commit910573f8e6d9230cb62cb5b2e31e556e67e114a7
tree82697c87ee71f9d210c9d1639905a199b82822b5
parentc15e8517ef877a141df7cd5d4767d19ac81e7c2e
xcode: Move Qt preprocessor steps to separate target

Xcode resolves dependencies at the beginning of each target, so if a
Qt preprocessor such as moc or rcc updates a cpp file Xcode will not
rebuild the cpp file until the next build.

We solve this by moving the Qt proceprocesor handling to a separate
aggregate build tool target, which the main application target then
depends on.

Change-Id: I8f9225b9603dc5f279b1cb60976fe709bd97963e
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
qmake/generators/mac/pbuilder_pbx.cpp