Fix bad merge
[ryzomcore.git] / win-build / vs_build_3dsmax_x64.bat
bloba6dffebb6ad532daac46fc3a0add6192aa184890
1 if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat" goto :no_build\r
2 call ..\path_config.bat\r
3 C:\r
4 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat"\r
5 cd /d %RC_ROOT%\build\r
6 call patch_version.bat\r
7 if %errorlevel% neq 0 pause\r
8 cd 3dsmax\r
9 rem goto :skipmax\r
10 if not exist .\2017_x64\CMakeCache.txt goto :no_2017\r
11 cd 2017_x64\r
12 cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .\r
13 if %errorlevel% neq 0 pause\r
14 msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%\r
15 if %errorlevel% neq 0 pause\r
16 cd ..\r
17 :no_2017\r
18 if not exist .\2018_x64\CMakeCache.txt goto :no_2018\r
19 cd 2018_x64\r
20 cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .\r
21 if %errorlevel% neq 0 pause\r
22 msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%\r
23 if %errorlevel% neq 0 pause\r
24 cd ..\r
25 :no_2018\r
26 if not exist .\2019_x64\CMakeCache.txt goto :no_2019\r
27 cd 2019_x64\r
28 cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .\r
29 if %errorlevel% neq 0 pause\r
30 msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%\r
31 if %errorlevel% neq 0 pause\r
32 cd ..\r
33 :no_2019\r
34 if not exist .\2020_x64\CMakeCache.txt goto :no_2020\r
35 cd 2020_x64\r
36 cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .\r
37 if %errorlevel% neq 0 pause\r
38 msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%\r
39 if %errorlevel% neq 0 pause\r
40 cd ..\r
41 :no_2020\r
42 if not exist .\2022_x64\CMakeCache.txt goto :no_2022\r
43 cd 2022_x64\r
44 cmake -DNL_VERSION_PATCH=%CLIENT_PATCH_VERSION% .\r
45 if %errorlevel% neq 0 pause\r
46 rem FIXME msbuild RyzomCore.sln /m:2 /p:Configuration=Release %MSBUILDEXTRA%\r
47 if %errorlevel% neq 0 pause\r
48 cd ..\r
49 :no_2022\r
50 rem :skipmax\r
51 cd ..\r
52 :no_build\r