Commit MetaInfo

Revisiond938255a07563450736a2cc80799007e5cbac7a6 (tree)
Time2019-11-08 00:32:46
Author <Kuddel@c0f5...>

Log Message

minor change to 'build_release.bat'
- to disable “warning MSB8051: Support for targeting Windows XP is deprecated” in VS2017
- to not include .psd files in source package.

Change Summary

Incremental Difference

diff -r 2c3b7968940b -r d938255a0756 Utils/D3D9Client/build_release.bat
--- a/Utils/D3D9Client/build_release.bat Wed Nov 06 21:10:38 2019 +0000
+++ b/Utils/D3D9Client/build_release.bat Thu Nov 07 15:32:46 2019 +0000
@@ -60,6 +60,7 @@
6060 set SOLUTIONFILE=D3D9ClientVS2017.sln
6161 set CAM_SOLUTIONFILE=GenericCamera.sln
6262 set GCAPI_PROJECTFILE=gcAPI.vs2017.vcxproj
63+ set BUILD_FLAG=/p:XPDeprecationWarning=false
6364 goto assign
6465 )
6566 :: Visual Studio 2015
@@ -95,11 +96,11 @@
9596 :assign
9697 set ZIP_NAME=D3D9Client%VERSION%
9798 set VC=msbuild.exe
98-set BUILD_FLAG=/t:build
99+set BUILD_FLAG=%BUILD_FLAG% /t:build
99100 set SOLUTIONFILE="%BASE_DIR%\Orbitersdk\D3D9Client\%SOLUTIONFILE%"
100101 set GCAPI_PROJECTFILE="%BASE_DIR%\Orbitersdk\D3D9Client\gcAPI\%GCAPI_PROJECTFILE%"
101102 set CONFIG=/p:Configuration=Release /p:Platform=Win32
102-set CONFIG_DBG=/p:Configuration=Debug
103+set CONFIG_DBG=/p:Configuration=Debug /p:Platform=Win32
103104 set ZIP_CMD="C:\Program Files\7-Zip\7z.exe"
104105
105106
@@ -168,6 +169,10 @@
168169 svn export --force --quiet "%BASE_DIR%\D3D9Client.cfg" "%ABS_PATH%\%OUT_DIR%"
169170
170171
172+:: --- Remove some files we don't need to have in the source-package
173+del "%OUT_DIR%\Orbitersdk\D3D9Client\doc\images\*.psd"
174+
175+
171176 :: --- Copy the DLLs
172177 if not exist "%OUT_DIR%\Modules\Plugin" mkdir "%OUT_DIR%\Modules\Plugin"
173178 if not exist "%OUT_DIR%\Orbitersdk\lib" mkdir "%OUT_DIR%\Orbitersdk\lib"
Show on old repository browser