install.cmd 569 Bytes
Newer Older
Jos De Roo's avatar
Jos De Roo committed
1
@ echo off
josd's avatar
josd committed
2 3 4
REM --------------------------------------
REM installing EYE in C:\Program Files\eye
REM --------------------------------------
Jos De Roo's avatar
Jos De Roo committed
5
if not exist "C:\Program Files\eye\src" mkdir "C:\Program Files\eye\src"
6
copy /Y "%~dp0eye.prolog" "C:\Program Files\eye\src"
Jos De Roo's avatar
Jos De Roo committed
7 8
if not exist "C:\Program Files\eye\lib" mkdir "C:\Program Files\eye\lib"
pushd "C:\Program Files\eye\lib"
9
swipl -q -f ../src/eye.prolog -g main -- --image eye.pvm
Jos De Roo's avatar
Jos De Roo committed
10 11 12
popd
if not exist "C:\Program Files\eye\bin" mkdir "C:\Program Files\eye\bin"
copy /Y "%~dp0eye.cmd" "C:\Program Files\eye\bin"