remove pointless conditionals+branches
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Fri, 14 Sep 2012 10:28:06 +0000 (12:28 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 19 Sep 2012 17:54:44 +0000 (19:54 +0200)
the surrounding TEMPLATE == vc* scope already implies vcproj, as dsp is
not supported any more.

Change-Id: I68363aca62e21135f42572040ccc7b189dcf32c8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
mkspecs/features/incredibuild_xge.prf
mkspecs/features/moc.prf

index 028f39d..b43ecf2 100644 (file)
@@ -1,9 +1,6 @@
 contains(TEMPLATE, "vc.*") {
-    EOC = $$escape_expand(\\n\\t)
-
     # The VCPROJ generator will replace the \r\h with the coded \r\n: &#x0d;&#x0a;
-    # No other generator understands the \h
-    win32-msvc2*|wince*msvc*: EOC = $$escape_expand(\\r\\h)
+    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)
index cf19c65..250f57a 100644 (file)
@@ -18,9 +18,7 @@ win32:count($$list($$INCLUDEPATH), 40, >) {
 
     contains(TEMPLATE, "vc.*") {
         # the VCPROJ generator will replace the \r\h with the coded \r\n: &#x0d;&#x0a;
-        # No other generator understands the \h
-        if(win32-msvc2*|wince*msvc*): EOC = $$escape_expand(\\r\\h)
-        else: EOC = $$escape_expand(\\\\\\n\\t)
+        EOC = $$escape_expand(\\r\\h)
     }
 
     unset(INCFILELIST)