echo off

rem Create a virtual drive to avoid long paths
subst x: %CD%\..\..\..\..\HDRTWO_CORE

set Arg1=--VcxprojFiltersPath=x:\Build\VS_CORE\Src.vcxproj.filters
set Arg2=--VcxprojPath=x:\Build\VS_CORE\Src.vcxproj
set Arg3=--SrcPath=x:\Src
Set ToolPath=.\ALVcxprojGenerator.exe

echo.
echo +++ RunALVcxprojGenerator.bat: +++
echo.

set GENERATEVSCMD=%ToolPath% %Arg1% %Arg2% %Arg3%

echo GENERATEVSCMD %GENERATEVSCMD%

%GENERATEVSCMD%

rem delete the virtual drive after runing the application
subst x: /D
