X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fconfigure.cmd;h=514047b805bba53ec1508a9c2192ac575a5a304c;hp=75c5a0778f23766e5b9aff4d24f779c7d2869f23;hb=54cbf04c4aa3443c01fa8c127892eba306a512ee;hpb=7255e6ef04c46d2f804e721f79703e6e36b4e9ed diff --git a/reactos/configure.cmd b/reactos/configure.cmd index 75c5a0778f2..514047b805b 100755 --- a/reactos/configure.cmd +++ b/reactos/configure.cmd @@ -38,6 +38,7 @@ if defined ROS_ARCH ( cl 2>&1 | find "14." > NUL && set BUILD_ENVIRONMENT=VS8 cl 2>&1 | find "15." > NUL && set BUILD_ENVIRONMENT=VS9 cl 2>&1 | find "16." > NUL && set BUILD_ENVIRONMENT=VS10 + cl 2>&1 | find "17." > NUL && set BUILD_ENVIRONMENT=VS11 if not defined BUILD_ENVIRONMENT ( echo Error: Visual Studio version too old or version detection failed. exit /b @@ -63,6 +64,12 @@ if defined ROS_ARCH ( ) else ( set CMAKE_GENERATOR="Visual Studio 10" ) + ) else if "%BUILD_ENVIRONMENT%" == "VS11" ( + if "%ARCH%" == "amd64" ( + set CMAKE_GENERATOR="Visual Studio 11 Win64" + ) else ( + set CMAKE_GENERATOR="Visual Studio 11" + ) ) ) else ( set USE_NMAKE=1