Commit MetaInfo

Revisiona2640730b814abd74f98030c7f70b25b5fdbd0c4 (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 232f2d68443d -r a2640730b814 Utils/D3D9Client/build_release.bat
--- a/Utils/D3D9Client/build_release.bat Tue Nov 05 13:56:54 2019 +0000
+++ b/Utils/D3D9Client/build_release.bat Thu Nov 07 15:32:46 2019 +0000
@@ -40,6 +40,7 @@
4040 if not "%VS141COMNTOOLS%"=="" (
4141 set "SETVCVARS=%VS141COMNTOOLS%..\..\VC\Auxiliary\Build\vcvarsall.bat"
4242 set SOLUTIONFILE=D3D9ClientVS2017.sln
43+ set BUILD_FLAG=/p:XPDeprecationWarning=false
4344 goto assign
4445 )
4546 :: Visual Studio 2015
@@ -70,7 +71,7 @@
7071 :assign
7172 set ZIP_NAME=D3D9Client%VERSION%
7273 set VC=msbuild.exe
73-set BUILD_FLAG=/t:build
74+set BUILD_FLAG=%BUILD_FLAG% /t:build
7475 set SOLUTIONFILE="%BASE_DIR%\Orbitersdk\D3D9Client\%SOLUTIONFILE%"
7576 set CONFIG=/p:Configuration=Release
7677 set ZIP_CMD="C:\Program Files\7-Zip\7z.exe"
@@ -113,6 +114,10 @@
113114 svn export --force --quiet "%BASE_DIR%\D3D9Client.cfg" "%ABS_PATH%\%OUT_DIR%"
114115
115116
117+:: --- Remove some files we don't need to have in the source-package
118+rem none
119+
120+
116121 :: --- Copy the DLL
117122 if not exist "%OUT_DIR%\Modules\Plugin" mkdir "%OUT_DIR%\Modules\Plugin"
118123 copy /y %BASE_DIR%\Modules\Plugin\D3D9Client.dll ^
Show on old repository browser