You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
Batchfile
38 lines
1.2 KiB
Batchfile
3 years ago
|
if not exist "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" goto :no_build
|
||
|
call ..\path_config.bat
|
||
|
C:
|
||
|
cd C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\
|
||
|
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
|
||
|
cd /d %RC_ROOT%\build
|
||
|
call patch_version.bat
|
||
|
if %errorlevel% neq 0 pause
|
||
|
cd 3dsmax
|
||
|
if not exist .\9_x86\CMakeCache.txt goto :no_9
|
||
|
cd 9_x86
|
||
|
cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .
|
||
|
if %errorlevel% neq 0 pause
|
||
|
msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%
|
||
|
if %errorlevel% neq 0 pause
|
||
|
cd ..
|
||
|
:no_9
|
||
|
if not exist .\2010_x86\CMakeCache.txt goto :no_2010
|
||
|
cd 2010_x86
|
||
|
cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .
|
||
|
if %errorlevel% neq 0 pause
|
||
|
msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%
|
||
|
if %errorlevel% neq 0 pause
|
||
|
cd ..
|
||
|
:no_2010
|
||
|
rem goto :skipmax
|
||
|
if not exist .\2012_x86\CMakeCache.txt goto :no_2012
|
||
|
cd 2012_x86
|
||
|
cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .
|
||
|
if %errorlevel% neq 0 pause
|
||
|
msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%
|
||
|
if %errorlevel% neq 0 pause
|
||
|
cd ..
|
||
|
:no_2012
|
||
|
rem :skipmax
|
||
|
cd ..
|
||
|
:no_build
|