Fix vcproj file generation for incredibuild handling of moc etc targets
authorAndy Shaw <andy.shaw@digia.com>
Fri, 10 Aug 2012 12:54:32 +0000 (14:54 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 10 Aug 2012 22:41:07 +0000 (00:41 +0200)
When incredibuild-xge had been turned on by configure then it was not
ensuring that the generated vcproj files had the right extra comments
needed to make incredibuild run moc and other tools in parallel.  By
fixing the prf file to get around a problem in the parser this is now
respected.

Task-number: QTBUG-14482

Change-Id: Ifd24bde2db7d80d3a52719c733d15f228c7b3534
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
mkspecs/features/incredibuild_xge.prf

index 028f39d..1b23da7 100644 (file)
@@ -6,6 +6,7 @@ contains(TEMPLATE, "vc.*") {
     win32-msvc2*|wince*msvc*: EOC = $$escape_expand(\\r\\h)
 
     for(xge, INCREDIBUILD_XGE) {
-        $${xge}.commands = Rem IncrediBuild_AllowRemote $$EOC Rem IncrediBuild_OutputFile $$shell_path($${xge}.output) $$EOC $$eval($${xge}.commands)
+        xgevar = $${xge}.commands
+        $$xgevar = Rem IncrediBuild_AllowRemote $$EOC Rem IncrediBuild_OutputFile $$shell_path($${xge}.output) $$EOC $$eval($${xge}.commands)
     }
 }