class: Tools::ProjectBuilder
authorClaus Gittinger <cg@exept.de>
Mon, 11 Mar 2013 20:20:35 +0100
changeset 2971e10937c35748
parent 2970 6d37e90dab00
child 2972 7db782e25d01
class: Tools::ProjectBuilder
comment/format in: #copySupportFilesForLinkage
ProjectBuilder.st
     1.1 --- a/ProjectBuilder.st	Mon Mar 11 20:07:35 2013 +0100
     1.2 +++ b/ProjectBuilder.st	Mon Mar 11 20:20:35 2013 +0100
     1.3 @@ -634,7 +634,22 @@
     1.4                  (mySTXTopDirectory / relativePath) copyTo:(buildDirectory / 'stx' / relativePath).    
     1.5              ]
     1.6          ] ifFalse:[
     1.7 -            self error:'Missing file: ',relativePath printString mayProceed:true.
     1.8 +"/ does not really help: objbc/librun.lib does not work with MSVC and vice versa...
     1.9 +"/            ((relativePath = 'librun/objvc/librun.dll')
    1.10 +"/            and:[ (mySTXTopDirectory / 'librun/objbc/librun.dll') exists ])ifTrue:[
    1.11 +"/                stdErr nextPutLine:('Warning: using alternative librun from objbc (Borland version)...'). 
    1.12 +"/                (buildDirectory / 'stx' / relativePath) directory recursiveMakeDirectory.
    1.13 +"/                (mySTXTopDirectory / 'librun/objbc/librun.dll') copyTo:(buildDirectory / 'stx' / relativePath).    
    1.14 +"/            ] ifFalse:[
    1.15 +"/                ((relativePath = 'librun/objbc/librun.dll')
    1.16 +"/                and:[ (mySTXTopDirectory / 'librun/objvc/librun.dll') exists ])ifTrue:[
    1.17 +"/                    stdErr nextPutLine:('Warning: using alternative librun from objvc (MSVC version)...'). 
    1.18 +"/                    (buildDirectory / 'stx' / relativePath) directory recursiveMakeDirectory.
    1.19 +"/                    (mySTXTopDirectory / 'librun/objvc/librun.dll') copyTo:(buildDirectory / 'stx' / relativePath).    
    1.20 +"/                ] ifFalse:[
    1.21 +                    self error:'Missing file: ',relativePath printString mayProceed:true.
    1.22 +"/                ]
    1.23 +"/            ]
    1.24          ].
    1.25      ].
    1.26