Skip to content

Commit 327ea9d

Browse files
authored
Merge pull request #322 from dimhotepus/fix-dedicated-build
[Windows] Fix dedicated server build
2 parents ade05ab + bfe1baf commit 327ea9d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

dedicated/wscript

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ def build(bld):
3838

3939
if bld.env.DEST_OS == 'win32':
4040
source += [
41-
'sys_windows.cpp'
41+
'sys_windows.cpp',
42+
'vgui/CreateMultiplayerGameServerPage.cpp',
43+
'vgui/MainPanel.cpp',
44+
'../public/vgui_controls/vgui_controls.cpp',
45+
'vgui/vguihelpers.cpp',
46+
'console/TextConsoleWin32.cpp'
4247
]
4348
else:
4449
source += [
@@ -59,6 +64,9 @@ def build(bld):
5964

6065
libs = ['tier0','vpklib','tier1','tier2','tier3','vstdlib','steam_api','appframework','mathlib', 'EDIT']
6166

67+
if bld.env.DEST_OS == 'win32':
68+
libs += ['vgui_controls', 'USER32', 'SHELL32']
69+
6270
install_path = bld.env.LIBDIR
6371

6472
bld.shlib(

0 commit comments

Comments
 (0)