changed: #copySupportFilesForLinkage
authorClaus Gittinger <cg@exept.de>
Tue, 04 Sep 2012 12:02:02 +0200
changeset 2914745b9c77b599
parent 2913 94e5ae8e15b2
child 2915 e0da59b7e3c9
changed: #copySupportFilesForLinkage
ProjectBuilder.st
     1.1 --- a/ProjectBuilder.st	Tue Sep 04 10:01:17 2012 +0200
     1.2 +++ b/ProjectBuilder.st	Tue Sep 04 12:02:02 2012 +0200
     1.3 @@ -493,20 +493,20 @@
     1.4                          'support/win32/borland/cs3245.dll' 
     1.5                          'support/win32/X11.dll'
     1.6                          'support/win32/Xext.dll'
     1.7 -                        'libbc/librun.lib'
     1.8 -                        'libbc/cs32i.lib'
     1.9 +                        'lib_bc/librun.lib'
    1.10 +                        'lib_bc/cs32i.lib'
    1.11                      ).
    1.12          ].
    1.13          usedCompiler = 'vc' ifTrue:[
    1.14              files := files , #( 
    1.15                          'librun/objvc/librun.dll'
    1.16 -                        'libvc/librun.lib'
    1.17 +                        'lib_vc/librun.lib'
    1.18                      ).
    1.19          ].
    1.20          usedCompiler = 'tcc' ifTrue:[
    1.21              files := files , #( 
    1.22                          'librun/objvc/librun.dll'
    1.23 -                        'libvc/librun.lib'
    1.24 +                        'lib_vc/librun.lib'
    1.25                      ).
    1.26          ].
    1.27      ] ifFalse:[
    1.28 @@ -526,22 +526,22 @@
    1.29          ].
    1.30      ].
    1.31  
    1.32 -    files do:[:dllRelativePath |
    1.33 -        (mySTXTopDirectory / dllRelativePath) exists ifTrue:[
    1.34 -            ((buildDirectory / 'stx' / dllRelativePath) exists
    1.35 -            and:[ (mySTXTopDirectory / dllRelativePath) fileSize = (buildDirectory / 'stx' / dllRelativePath) fileSize
    1.36 -            and:[ (mySTXTopDirectory / dllRelativePath) modificationTime < (buildDirectory / 'stx' / dllRelativePath) modificationTime
    1.37 +    files do:[:relativePath |
    1.38 +        (mySTXTopDirectory / relativePath) exists ifTrue:[
    1.39 +            ((buildDirectory / 'stx' / relativePath) exists
    1.40 +            and:[ (mySTXTopDirectory / relativePath) fileSize = (buildDirectory / 'stx' / relativePath) fileSize
    1.41 +            and:[ (mySTXTopDirectory / relativePath) modificationTime < (buildDirectory / 'stx' / relativePath) modificationTime
    1.42              "/ and:[ (mySTXTopDirectory / dllRelativePath) sameContentsAs:(targetBuildDir / dllRelativePath) ]
    1.43              ]]) ifFalse:[
    1.44 -                (buildDirectory / 'stx' / dllRelativePath) directory recursiveMakeDirectory.
    1.45 -                (mySTXTopDirectory / dllRelativePath) copyTo:(buildDirectory / 'stx' / dllRelativePath).    
    1.46 +                (buildDirectory / 'stx' / relativePath) directory recursiveMakeDirectory.
    1.47 +                (mySTXTopDirectory / relativePath) copyTo:(buildDirectory / 'stx' / relativePath).    
    1.48              ]
    1.49          ] ifFalse:[
    1.50 -            self error:'Missing file: ',dllRelativePath printString mayProceed:true.
    1.51 +            self error:'Missing file: ',relativePath printString mayProceed:true.
    1.52          ].
    1.53      ].
    1.54  
    1.55 -    "Modified (comment): / 04-09-2012 / 00:48:24 / cg"
    1.56 +    "Modified: / 04-09-2012 / 11:59:53 / cg"
    1.57  !
    1.58  
    1.59  createHeaderFileFor:aClass in:packageTargetDir