compiled.inc : compile extrinsic function Delphi library

File : compiled.inc  used by :  trilib02.gms [html]


$if %system.filesys% == UNIX $abort 'Cannot compile Delphi on Unix'

$call gmsunzip -o %1source.zip

$ifThen %system.buildcode% == VS8
$  call rm -f %1dclib.dll
$  log >>> Building Delphi library for platform VS8
$  call dcc32 -cc %1dclib.dpr
$  if errorlevel 1 $abort problems compiling and linking
$  funclibin myLib %1dclib.dll
$endIf

$ifThen %system.buildcode% == WEI
$  call rm -f %1dclib.dll
$  log >>> Building Delphi library for platform WEI
$  call dcc64 -cc %1dclib.dpr
$  if errorlevel 1 $abort problems compiling and linking
$  funclibin myLib %1dclib.dll
$endIf