@echo off
rem Written by Jelle Geerts (jellegeerts@gmail.com).
rem
rem To the extent possible under law, the author(s) have dedicated all
rem copyright and related and neighboring rights to this software to
rem the public domain worldwide. This software is distributed without
rem any warranty.
rem
rem You should have received a copy of the CC0 Public Domain Dedication
rem along with this software.
rem If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.

set "CMAKE_DIR=C:\dev\cmake-3.31.6-windows-x86_64"
set "MINGW_DIR=C:\dev\mingw64"
set "QTDIR=C:\Qt\6.5.3\mingw_64"
rem set "CMAKE_PREFIX_PATH=%QTDIR%;%CMAKE_PREFIX_PATH%"
rem set "BOOST_ROOT=Z:\Dev\libraries\boost\1_46_1"
set "PATH=%CMAKE_DIR%\bin;%MINGW_DIR%\bin;%QTDIR%\bin;%PATH%"

rem The $* token at the end of each doskey macro is replaced by
rem everything following the macro name when entered on the command
rem line, so you can do things like 'br && echo hello', where 'br' is a
rem macro.
doskey c=cmake -G "MinGW Makefiles" -D "CMAKE_BUILD_TYPE=Debug" . $*
doskey cr=cmake -G "MinGW Makefiles" -D "CMAKE_BUILD_TYPE=Release" . $*
doskey b=mingw32-make $*
doskey r=gambitchess $*
doskey br=mingw32-make ^&^& gambitchess $*
doskey cl=mingw32-make clean $*
