Skip to content

Commit 6b07a57

Browse files
committed
add support for debug output
1 parent fa14da5 commit 6b07a57

File tree

3 files changed

+40
-21
lines changed

3 files changed

+40
-21
lines changed

game_clean/copy/tf/tc2

game_clean/create_clean.sh

Lines changed: 39 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,55 @@ set -e
88

99
DEV_DIR=../../game
1010
CLEAN_DIR=${DEV_DIR}_clean
11+
CLEAN_DEBUG_DIR=${DEV_DIR}_clean_debug
1112
rm -rf ${CLEAN_DIR}
12-
mkdir -p ${CLEAN_DIR}/{bin,tf/{bin,custom}}
13+
rm -rf ${CLEAN_DEBUG_DIR}
14+
mkdir -p ${CLEAN_DIR}/{bin,tf/bin}
15+
mkdir -p ${CLEAN_DEBUG_DIR}/{bin,tf/bin}
1316
cp -rf copy/* ${CLEAN_DIR}
1417

1518
declare -a FILES=(
1619
{hl2,srcds}.exe
17-
bin/engine.dll
18-
bin/GameUI.dll
19-
bin/replay.dll
20-
bin/launcher.dll
21-
bin/inputsystem.dll
22-
bin/{Material,SoundEmitter}System.dll
23-
bin/dedicated.dll
24-
bin/ServerBrowser.dll
25-
bin/{shaderapi,stdshader_}dx9.dll
26-
bin/vgui{matsurface,2}.dll
27-
bin/{data,scenefile}cache.dll
28-
bin/sourcevr.dll
29-
bin/StudioRender.dll
30-
bin/bsppack.dll
31-
bin/FileSystem_Stdio.dll
32-
bin/vstdlib.dll
33-
bin/tier0.dll
34-
tf/bin/{client,server}.dll
3520
)
21+
22+
declare -a DLLS_CI=(
23+
bin/engine
24+
bin/replay
25+
bin/launcher
26+
bin/inputsystem
27+
bin/{Material,SoundEmitter}System
28+
bin/dedicated
29+
bin/{shaderapi,stdshader_}dx9
30+
bin/vgui{matsurface,2}
31+
bin/{data,scenefile}cache
32+
bin/sourcevr
33+
bin/StudioRender
34+
bin/bsppack
35+
bin/FileSystem_Stdio
36+
bin/vstdlib
37+
bin/tier0
38+
tf/bin/{client,server}
39+
)
40+
41+
declare -a DLLS=(
42+
bin/GameUI
43+
bin/ServerBrowser
44+
)
45+
3646
for F in "${FILES[@]}"; do
3747
cp -f ${DEV_DIR}/${F} ${CLEAN_DIR}/${F}
3848
done
3949

50+
for F in "${DLLS_CI[@]}"; do
51+
cp -f ${DEV_DIR}/${F}.dll ${CLEAN_DIR}/${F}.dll
52+
cp -f ${DEV_DIR}/${F,,}.pdb ${CLEAN_DEBUG_DIR}/${F,,}.pdb
53+
done
54+
55+
for F in "${DLLS[@]}"; do
56+
cp -f ${DEV_DIR}/${F}.dll ${CLEAN_DIR}/${F}.dll
57+
cp -f ${DEV_DIR}/${F}.pdb ${CLEAN_DEBUG_DIR}/${F}.pdb
58+
done
59+
4060
declare -a FILES=(
4161
../LICENSE_SDK
4262
../.github/README.md

tier0/threadtools.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,6 @@ bool CThreadEvent::Set()
710710
}
711711
}
712712
}
713-
714713

715714
// At least be non-pessimistic after we loop through
716715
if (!bOneListener)

0 commit comments

Comments
 (0)