|
|
|
@ -21,21 +21,16 @@ def configure(conf):
@@ -21,21 +21,16 @@ def configure(conf):
|
|
|
|
|
conf.define_cond('XASH_DISABLE_MENU_CHANGEGAME', conf.options.DISABLE_MENU_CHANGEGAME) |
|
|
|
|
|
|
|
|
|
def build(bld): |
|
|
|
|
source = ['game.cpp'] |
|
|
|
|
includes = '. ../common ../public' |
|
|
|
|
libs = [] |
|
|
|
|
|
|
|
|
|
libs = ['sdk_includes'] |
|
|
|
|
if bld.env.DEST_OS != 'win32': |
|
|
|
|
libs += [ 'DL' ] |
|
|
|
|
else: |
|
|
|
|
libs += ['USER32', 'SHELL32'] |
|
|
|
|
source += ['game.rc'] |
|
|
|
|
|
|
|
|
|
bld( |
|
|
|
|
source = source, |
|
|
|
|
bld(source = 'game.cpp', |
|
|
|
|
target = 'xash3d', # hl.exe |
|
|
|
|
features = 'c cxx cxxprogram', |
|
|
|
|
includes = includes, |
|
|
|
|
use = libs, |
|
|
|
|
rpath = '$ORIGIN', |
|
|
|
|
install_path = bld.env.BINDIR, |
|
|
|
|