echo Load WINPC settings

iff not defined ISE_PLATFORM then
	set ISE_PLATFORM=win64
endiff
iff not defined ISE_EIFFEL then
	set ISE_EIFFEL=C:\DEV\Eiffel\18.07_%ISE_PLATFORM%
endiff

iff "%ISE_PLATFORM%" == "win64" then
	rem set MYSQL=C:\Program Files (x86)\MySQL\MySQL Connector.C 6.1
	rem set MYSQL=C:\DEV\mysql\winx64\
	rem set MYSQL=C:\apps\mysql-5.6.22-winx64\
	rem set MYSQL=C:\DEV\3rd\mysql\mysql-5.6.38-winx64
	set MYSQL=C:\DEV\include\mysql-connector-c-6.1.11-winx64
else
	rem set MYSQL=C:\Program Files (x86)\MySQL\MySQL Connector.C 6.1
	set MYSQL=C:\DEV\3rd\mysql\mysql-5.6.38-win32
	rem set MYSQL=C:\DEV\include\mysql-connector-c-6.1.11-win32
endiff

iff not defined WORK_DIR then
	set WORK_DIR=C:\DEV\deliv
	rem set WORK_DIR=M:\deliv
endiff

set LOCAL_REPO_ROOT=%~dp0..\..\..\repos\mirrors
pushd %LOCAL_REPO_ROOT%
set LOCAL_REPO_ROOT=%CD%
popd
set "LOCAL_REPO_ROOT=%LOCAL_REPO_ROOT:\=/%"
iff not defined DEFAULT_PUBLIC_SVN then
	set DEFAULT_PUBLIC_SVN=file:///%LOCAL_REPO_ROOT%/svn/eiffelstudio/trunk
 	rem set DEFAULT_PUBLIC_SVN=svn://192.168.1.11:3699/trunk
endiff
iff not defined DEFAULT_ISE_SVN then
	set DEFAULT_ISE_SVN=svn://jfiat@svn.ise:3691/ise_svn/trunk
	set DEFAULT_ISE_SVN=file:///%LOCAL_REPO_ROOT%/svn/ise/trunk
	rem set DEFAULT_ISE_SVN=svn://192.168.1.11:3698/trunk
endiff

rem set PATH=%PATH%;C:\cygwin64\bin
set PATH=%PATH%;C:\apps\files\7-Zip
