Browse Source

wscript: update.

theyhunger
Andrey Akhmichin 4 years ago
parent
commit
70f2b7610c
  1. 19
      cl_dll/wscript
  2. 9
      dlls/wscript
  3. 2
      wscript

19
cl_dll/wscript

@ -23,22 +23,6 @@ def build(bld): @@ -23,22 +23,6 @@ def build(bld):
source += bld.path.ant_glob([
'hl/*.cpp'
])
source += bld.path.parent.ant_glob([
'dlls/crossbow.cpp',
'dlls/crowbar.cpp',
'dlls/egon.cpp',
'dlls/gauss.cpp',
'dlls/glock.cpp',
'dlls/handgrenade.cpp',
'dlls/hornetgun.cpp',
'dlls/mp5.cpp',
'dlls/python.cpp',
'dlls/rpg.cpp',
'dlls/satchel.cpp',
'dlls/shotgun.cpp',
'dlls/squeakgrenade.cpp',
'dlls/tripmine.cpp'
])
source += [
'GameStudioModelRenderer.cpp',
'MOTD.cpp',
@ -94,7 +78,8 @@ def build(bld): @@ -94,7 +78,8 @@ def build(bld):
'../pm_shared',
'../game_shared',
'../public',
'../utils/false_vgui/include'
'../utils/false_vgui/include',
'../dlls/hunger'
]
defines = ['CLIENT_DLL']

9
dlls/wscript

@ -25,7 +25,9 @@ def build(bld): @@ -25,7 +25,9 @@ def build(bld):
source = bld.path.parent.ant_glob([
'pm_shared/*.c',
])
source += bld.path.ant_glob([
'hunger/*.cpp',
])
source += [
'agrunt.cpp',
'airtank.cpp',
@ -74,7 +76,7 @@ def build(bld): @@ -74,7 +76,7 @@ def build(bld):
'healthkit.cpp',
'hgrunt.cpp',
'hornet.cpp',
'hornetgun.cpp',
# 'hornetgun.cpp',
'houndeye.cpp',
'ichthyosaur.cpp',
'islave.cpp',
@ -142,7 +144,8 @@ def build(bld): @@ -142,7 +144,8 @@ def build(bld):
'../engine',
'../pm_shared',
'../game_shared',
'../public'
'../public',
'hunger'
]
libs = []

2
wscript

@ -270,7 +270,7 @@ def configure(conf): @@ -270,7 +270,7 @@ def configure(conf):
if conf.env.cxxshlib_PATTERN.startswith('lib'):
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
conf.define('CLIENT_WEAPONS', '1')
conf.define('CLIENT_WEAPONS', '0')
if conf.env.DEST_OS == 'android' or conf.options.ENABLE_MOD_HACKS:
conf.define('MOBILE_HACKS', '1')

Loading…
Cancel
Save