set CMAKE_GENERATOR="Visual Studio 11 Win64"\r
) else if "!ARCH!" == "arm" (\r
set CMAKE_GENERATOR="Visual Studio 11 ARM"\r
+ set CMAKE_GENERATOR_HOST="Visual Studio 11"\r
) else (\r
set CMAKE_GENERATOR="Visual Studio 11"\r
)\r
set CMAKE_GENERATOR="Visual Studio 12 Win64"\r
) else if "!ARCH!" == "arm" (\r
set CMAKE_GENERATOR="Visual Studio 12 ARM"\r
+ set CMAKE_GENERATOR_HOST="Visual Studio 12"\r
) else (\r
set CMAKE_GENERATOR="Visual Studio 12"\r
)\r
) else (\r
set CMAKE_GENERATOR="Ninja"\r
)\r
+ if "!ARCH!" == "arm" (\r
+ set CMAKE_GENERATOR_HOST=!CMAKE_GENERATOR!\r
+ )\r
)\r
\r
:: Create directories\r
:: Use x86 for ARM host tools\r
if "%ARCH%" == "arm" (\r
:: Launch new script instance for x86 host tools configuration\r
- start "Preparing host tools for ARM cross build..." /I /B /WAIT %~dp0configure.cmd arm_hosttools "%VSINSTALLDIR%VC\vcvarsall.bat" %CMAKE_GENERATOR%\r
+ start "Preparing host tools for ARM cross build..." /I /B /WAIT %~dp0configure.cmd arm_hosttools "%VSINSTALLDIR%VC\vcvarsall.bat" %CMAKE_GENERATOR_HOST%\r
) else (\r
cmake -G %CMAKE_GENERATOR% -DARCH:STRING=%ARCH% "%REACTOS_SOURCE_DIR%"\r
)\r