REM $Header: /usr/local/cvsrep/fm-plugin-tools/build-plugin.cmd,v 1.11 2008/01/12 01:19:14 edi Exp $ REM +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ REM + Example build script for Windows + REM + + REM + Change the following `set' statements to adapt them to your + REM + local settings: + REM +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ REM The directory where the DLL will be built set build_dir="c:\tmp" REM The FileMaker extension directory set target_dir="c:\Program Files\FileMaker\FileMaker Pro 9\Extensions" REM The delivery script set script="c:\home\lisp\fm-plugin-tools\deliver.lisp" REM The LispWorks executable set lispworks="c:\Program Files\LispWorks\lispworks-5-1-0-x86-win32.exe" REM The name of the plug-in (the .fmx file) set name=LispPlugInExample REM +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ REM + Don't change anything below this point. + REM +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cd %build_dir% if errorlevel 1 ( echo Couldn't change to directory %build_dir%. pause ) else ( %lispworks% -build %script% %name% if errorlevel 1 ( echo Couldn't build DLL. pause ) else ( copy /Y %name%.fmx %target_dir% if errorlevel 1 ( echo Couldn't copy DLL into %target_dir%. pause ) ) )