Author: tfaber
Date: Sun Jun 30 08:28:05 2013
New Revision: 59381
URL:
http://svn.reactos.org/svn/reactos?rev=59381&view=rev
Log:
[CMAKE]
- Fix MSVC version detection in configure.cmd
CORE-7337 #comment VS12 is not supported by CMake yet. With r59381, configure should at
least give you a proper error message.
Modified:
trunk/reactos/configure.cmd
Modified: trunk/reactos/configure.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/configure.cmd?rev=59381&am…
==============================================================================
--- trunk/reactos/configure.cmd [iso-8859-1] (original)
+++ trunk/reactos/configure.cmd [iso-8859-1] Sun Jun 30 08:28:05 2013
@@ -57,10 +57,10 @@
cl 2>&1 | find "x86" > NUL && set ARCH=i386
cl 2>&1 | find "x64" > NUL && set ARCH=amd64
cl 2>&1 | find "ARM" > NUL && set ARCH=arm
- 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
+ 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