Merge pull request #322 from dimhotepus/fix-dedicated-build

[Windows] Fix dedicated server build
This commit is contained in:
nillerusr 2023-12-13 20:24:52 +03:00 committed by GitHub
commit 327ea9dee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 += [
@ -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(