Browse Source

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

[Windows] Fix dedicated server build
pull/323/head
nillerusr 1 year ago committed by GitHub
parent
commit
327ea9dee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      dedicated/wscript

10
dedicated/wscript

@ -38,7 +38,12 @@ def build(bld):
if bld.env.DEST_OS == 'win32': if bld.env.DEST_OS == 'win32':
source += [ 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: else:
source += [ source += [
@ -59,6 +64,9 @@ def build(bld):
libs = ['tier0','vpklib','tier1','tier2','tier3','vstdlib','steam_api','appframework','mathlib', 'EDIT'] 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 install_path = bld.env.LIBDIR
bld.shlib( bld.shlib(

Loading…
Cancel
Save