- Add VC11 support in configure.cmd
svn path=/trunk/; revision=54213
cl 2>&1 | find "14." > NUL && set BUILD_ENVIRONMENT=VS8\r
cl 2>&1 | find "15." > NUL && set BUILD_ENVIRONMENT=VS9\r
cl 2>&1 | find "16." > NUL && set BUILD_ENVIRONMENT=VS10\r
cl 2>&1 | find "14." > NUL && set BUILD_ENVIRONMENT=VS8\r
cl 2>&1 | find "15." > NUL && set BUILD_ENVIRONMENT=VS9\r
cl 2>&1 | find "16." > NUL && set BUILD_ENVIRONMENT=VS10\r
+ cl 2>&1 | find "17." > NUL && set BUILD_ENVIRONMENT=VS11\r
if not defined BUILD_ENVIRONMENT (\r
echo Error: Visual Studio version too old or version detection failed.\r
exit /b\r
if not defined BUILD_ENVIRONMENT (\r
echo Error: Visual Studio version too old or version detection failed.\r
exit /b\r
) else (\r
set CMAKE_GENERATOR="Visual Studio 10"\r
)\r
) else (\r
set CMAKE_GENERATOR="Visual Studio 10"\r
)\r
+ ) else if "%BUILD_ENVIRONMENT%" == "VS11" (\r
+ if "%ARCH%" == "amd64" (\r
+ set CMAKE_GENERATOR="Visual Studio 11 Win64"\r
+ ) else (\r
+ set CMAKE_GENERATOR="Visual Studio 11"\r
+ )\r
)\r
) else (\r
set USE_NMAKE=1\r
)\r
) else (\r
set USE_NMAKE=1\r