20 lines
408 B
Batchfile
20 lines
408 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
set script_dir_backslash=%~dp0
|
|
set script_dir=%script_dir_backslash:~0,-1%
|
|
set build_dir=%script_dir%\Build
|
|
set code_dir=%script_dir%
|
|
|
|
REM Bootstrap the build program
|
|
pushd %build_dir%
|
|
cl /nologo /Z7 /W4 %code_dir%\feely_pona_build.cpp || exit /B 1
|
|
copy feely_pona_build.exe %code_dir% 1>nul
|
|
popd
|
|
|
|
REM Run the build program
|
|
%code_dir%\feely_pona_build.exe %* || exit /B 1
|
|
|
|
popd
|
|
exit /B 1
|