ProjectBuilder.st
changeset 2793 e03152b97cdd
parent 2741 783dda495655
child 2844 5e4e46856d8d
equal deleted inserted replaced
2792:f056aa5d29a7 2793:e03152b97cdd
   623 
   623 
   624     module := package module.
   624     module := package module.
   625     directory := package directory.
   625     directory := package directory.
   626 
   626 
   627     makeCommand := ParserFlags makeCommand.
   627     makeCommand := ParserFlags makeCommand.
   628     usedCompiler = 'vc' ifTrue:[ makeCommand := 'vcmake'. compilerFlag := 'USEVC=1' ].
   628     usedCompiler = 'vc' ifTrue:[ makeCommand := 'vcmake'. compilerFlag := '-DUSEVC' ].
   629     usedCompiler = 'lcc' ifTrue:[ makeCommand := 'lcmake'. compilerFlag := 'USELCC=1' ].
   629     usedCompiler = 'lcc' ifTrue:[ makeCommand := 'lcmake'. compilerFlag := '-DUSELCC' ].
   630     usedCompiler = 'gcc' ifTrue:[ makeCommand := 'make'. ].
   630     usedCompiler = 'gcc' ifTrue:[ makeCommand := 'make'. ].
   631 
   631 
   632     OperatingSystem isUNIXlike ifTrue:[
   632     OperatingSystem isUNIXlike ifTrue:[
   633         OperatingSystem
   633         OperatingSystem
   634             executeCommand:'sh ../../stx/rules/stmkmf'
   634             executeCommand:'sh ../../stx/rules/stmkmf'
   664                 errorTo:stdErr
   664                 errorTo:stdErr
   665                 inDirectory:(buildDirectory / module / directory)
   665                 inDirectory:(buildDirectory / module / directory)
   666                 onError:[:status| self error:'make failed'].
   666                 onError:[:status| self error:'make failed'].
   667         ]
   667         ]
   668     ]
   668     ]
       
   669 
       
   670     "Modified: / 26-07-2010 / 12:25:33 / cg"
   669 !
   671 !
   670 
   672 
   671 recursiveCopyDirectoryForBuild:subdir
   673 recursiveCopyDirectoryForBuild:subdir
   672     |targetDir|
   674     |targetDir|
   673 
   675