From 3c8fe508f041c80f9e5669f4001cd1d841a4fd2b Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 10 Sep 2022 20:05:21 +0300 Subject: [PATCH] game_launch: convert to include targets usage --- game_launch/wscript | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/game_launch/wscript b/game_launch/wscript index d4dab31c..d4ed3ae0 100644 --- a/game_launch/wscript +++ b/game_launch/wscript @@ -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,