class: Tools::ProjectBuilder
authorClaus Gittinger <cg@exept.de>
Mon, 25 Mar 2013 01:52:26 +0100
changeset 2989 fce70ea7d5d7
parent 2988 9e8fd363e247
child 2990 66833743333c
class: Tools::ProjectBuilder changed: #makeCommandOfCompiler: #makeWithOutputTo:errorTo:
ProjectBuilder.st
--- a/ProjectBuilder.st	Mon Mar 25 01:20:45 2013 +0100
+++ b/ProjectBuilder.st	Mon Mar 25 01:52:26 2013 +0100
@@ -928,12 +928,12 @@
     usedCompiler = 'tcc' ifTrue:[ 
         ^ 'tccmake'. "/ compilerFlag := '-DUSELCC' 
     ].
-    usedCompiler = 'gcc' ifTrue:[ 
-        ^ 'make'.       "/ compilerFlag := '-DUSEGCC' 
-    ].
     usedCompiler = 'mingw' ifTrue:[ 
         ^ 'mingwmake'.  "/ compilerFlag := '-DUSEMINGW' 
     ].
+    true "usedCompiler = 'gcc'" ifTrue:[ 
+        ^ 'make'.       "/ compilerFlag := '-DUSEGCC' 
+    ].
     self error:'unknown compiler specified'.
 
     "Created: / 03-09-2012 / 19:46:07 / cg"
@@ -971,7 +971,7 @@
         "/ generate the library
         self activityNotification:(makeCommand,' classLibRule').
         OperatingSystem
-            executeCommand:(makeCommand,' classLibRule')
+            executeCommand:(makeCommand,' classLibRule FORCE=')
             inputFrom:nil
             outputTo:stdOut
             errorTo:stdErr
@@ -982,7 +982,7 @@
             self activityNotification:(makeCommand,' exe').
             OperatingSystem
                 "/ generate the executable
-                executeCommand:(makeCommand,' exe')
+                executeCommand:(makeCommand,' exe FORCE=')
                 inputFrom:nil
                 outputTo:stdOut
                 errorTo:stdErr