@echo off
echo a
del /s/q/f build-borland
rmdir /s/q build-borland
mkdir build-borland
cd build-borland
cmake -G "Borland Makefiles" -DCMAKE_C_FLAGS="-Ic:/usr-bcb/include" ..
make
mkdir run\locale
mkdir run\locale\ru
mkdir run\locale\ru\LC_MESSAGES
mkdir run\locale\it
mkdir run\locale\it\LC_MESSAGES
copy po\ru\gettextex1.gmo run\locale\ru\LC_MESSAGES\gettextex1.mo
copy po\it\gettextex1.gmo run\locale\it\LC_MESSAGES\gettextex1.mo
cd run
gettextex1.exe
cd ..\..
