Author: tfaber Date: Thu Oct 20 14:53:02 2011 New Revision: 54213
URL: http://svn.reactos.org/svn/reactos?rev=54213&view=rev Log: [CMAKE] - Add VC11 support in configure.cmd
Modified: trunk/reactos/configure.cmd
Modified: trunk/reactos/configure.cmd URL: http://svn.reactos.org/svn/reactos/trunk/reactos/configure.cmd?rev=54213&... ============================================================================== --- trunk/reactos/configure.cmd [iso-8859-1] (original) +++ trunk/reactos/configure.cmd [iso-8859-1] Thu Oct 20 14:53:02 2011 @@ -38,6 +38,7 @@ 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 @@ -62,6 +63,12 @@ set CMAKE_GENERATOR="Visual Studio 10 Win64" ) 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 (