mirror of https://github.com/axmolengine/axmol.git
[Win32] Updating build-win32.bat, it only supports vs2012 now.
This commit is contained in:
parent
247dcb7a4c
commit
42e1b70d8e
|
@ -8,9 +8,6 @@ echo.
|
||||||
if defined VS110COMNTOOLS (
|
if defined VS110COMNTOOLS (
|
||||||
set VSTOOLS="%VS110COMNTOOLS%"
|
set VSTOOLS="%VS110COMNTOOLS%"
|
||||||
set VC_VER=110
|
set VC_VER=110
|
||||||
) else if defined VS100COMNTOOLS (
|
|
||||||
set VSTOOLS="%VS100COMNTOOLS%"
|
|
||||||
set VC_VER=100
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,10 +28,7 @@ echo. */
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
call %VSVARS%
|
call %VSVARS%
|
||||||
if %VC_VER%==100 (
|
if %VC_VER%==110 (
|
||||||
msbuild cocos2d-win32.vc2010.sln /p:Configuration="Debug"
|
|
||||||
msbuild cocos2d-win32.vc2010.sln /p:Configuration="Release"
|
|
||||||
) else if %VC_VER%==110 (
|
|
||||||
msbuild cocos2d-win32.vc2012.sln /t:Clean
|
msbuild cocos2d-win32.vc2012.sln /t:Clean
|
||||||
msbuild cocos2d-win32.vc2012.sln /p:Configuration="Debug" /m
|
msbuild cocos2d-win32.vc2012.sln /p:Configuration="Debug" /m
|
||||||
msbuild cocos2d-win32.vc2012.sln /p:Configuration="Release" /m
|
msbuild cocos2d-win32.vc2012.sln /p:Configuration="Release" /m
|
||||||
|
@ -86,7 +80,7 @@ if not exist "%CC_TEST_BIN%" (
|
||||||
|
|
||||||
call "%CC_TEST_BIN%"
|
call "%CC_TEST_BIN%"
|
||||||
popd
|
popd
|
||||||
start http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Cocos2d-x_Application_Wizard_for_Visual_Studio_User_Guide
|
|
||||||
goto EOF
|
goto EOF
|
||||||
|
|
||||||
:ERROR
|
:ERROR
|
||||||
|
|
Loading…
Reference in New Issue