mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 16:31:30 +00:00
[CMAKE]
- Add VC11 support in configure.cmd svn path=/trunk/; revision=54213
This commit is contained in:
parent
7255e6ef04
commit
54cbf04c4a
|
@ -38,6 +38,7 @@ if defined ROS_ARCH (
|
||||||
cl 2>&1 | find "14." > NUL && set BUILD_ENVIRONMENT=VS8
|
cl 2>&1 | find "14." > NUL && set BUILD_ENVIRONMENT=VS8
|
||||||
cl 2>&1 | find "15." > NUL && set BUILD_ENVIRONMENT=VS9
|
cl 2>&1 | find "15." > NUL && set BUILD_ENVIRONMENT=VS9
|
||||||
cl 2>&1 | find "16." > NUL && set BUILD_ENVIRONMENT=VS10
|
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 (
|
if not defined BUILD_ENVIRONMENT (
|
||||||
echo Error: Visual Studio version too old or version detection failed.
|
echo Error: Visual Studio version too old or version detection failed.
|
||||||
exit /b
|
exit /b
|
||||||
|
@ -63,6 +64,12 @@ if defined ROS_ARCH (
|
||||||
) else (
|
) else (
|
||||||
set CMAKE_GENERATOR="Visual Studio 10"
|
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 (
|
) else (
|
||||||
set USE_NMAKE=1
|
set USE_NMAKE=1
|
||||||
|
|
Loading…
Reference in a new issue