Skip to content

Commit

Permalink
Build tools:
Browse files Browse the repository at this point in the history
- updated "build-common": it wasn't able to run SymInfoBuilder, it seems it requires now to point at location relative to current bash script
- copying pdb file in common.bat
  • Loading branch information
gildor2 committed Mar 8, 2019
1 parent a0067dd commit 94d29fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions Release/common.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ set QDIR=\games\quake2
copy /b *.exe %QDIR%\*.* >NUL
if exist *.dll copy /b *.dll %QDIR%\*.* >NUL
if exist *.dbg copy /b *.dbg %QDIR%\*.* > NUL
if exist *.pdb copy /b *.pdb %QDIR%\*.* > NUL
copy /b ..\4.XX_Changes.txt %QDIR%\*.* >NUL
cd %QDIR%
10 changes: 4 additions & 6 deletions build-common
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ dir="${thisfile%/*}"
if [ $dir == $thisfile ]; then
dir="."
fi
pushd $dir >/dev/null
rootdir=$PWD
popd >/dev/null

tools=$rootdir/Tools
rootdir=$dir
tools=$rootdir/Tools #?? review: not working for SymInfoBuilder, may be should remove from all locations

# default output directory
[ "$OUT" ] || OUT="Release"
Expand Down Expand Up @@ -87,5 +84,6 @@ function BuildTarget()
{
time $build makefile-$PLATFORM $TARGET || exit 1
# generate symbols.dbg
$tools/SymInfoBuilder/work.pl $OUT $maptype
echo "$tools/SymInfoBuilder/work.pl $OUT $maptype"
Tools/SymInfoBuilder/work.pl $OUT $maptype
}

0 comments on commit 94d29fa

Please sign in to comment.