Skip to content

Commit

Permalink
Merge pull request #322 from dimhotepus/fix-dedicated-build
Browse files Browse the repository at this point in the history
[Windows] Fix dedicated server build
  • Loading branch information
nillerusr committed Dec 13, 2023
2 parents ade05ab + bfe1baf commit 327ea9d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dedicated/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ def build(bld):

if bld.env.DEST_OS == 'win32':
source += [
'sys_windows.cpp'
'sys_windows.cpp',
'vgui/CreateMultiplayerGameServerPage.cpp',
'vgui/MainPanel.cpp',
'../public/vgui_controls/vgui_controls.cpp',
'vgui/vguihelpers.cpp',
'console/TextConsoleWin32.cpp'
]
else:
source += [
Expand All @@ -59,6 +64,9 @@ def build(bld):

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

if bld.env.DEST_OS == 'win32':
libs += ['vgui_controls', 'USER32', 'SHELL32']

install_path = bld.env.LIBDIR

bld.shlib(
Expand Down

0 comments on commit 327ea9d

Please sign in to comment.