mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 08:14:15 +00:00
engine: wscript: add dummy engine_includes target that only exposes few internal Xash headers for renderers and utils use
This commit is contained in:
parent
0ed9391969
commit
8ffb3aac8a
@ -106,8 +106,11 @@ def configure(conf):
|
|||||||
conf.define_cond('PSAPI_VERSION', conf.env.DEST_OS == 'win32') # will be defined as 1
|
conf.define_cond('PSAPI_VERSION', conf.env.DEST_OS == 'win32') # will be defined as 1
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
|
# public includes for renderers and utils use
|
||||||
|
bld(name = 'engine_includes', export_includes = '. common common/imagelib', use = 'filesystem_includes')
|
||||||
|
|
||||||
is_cxx_link = False
|
is_cxx_link = False
|
||||||
libs = [ 'public', 'dllemu' ]
|
libs = [ 'engine_includes', 'public', 'dllemu' ]
|
||||||
|
|
||||||
# basic build: dedicated only
|
# basic build: dedicated only
|
||||||
source = bld.path.ant_glob([
|
source = bld.path.ant_glob([
|
||||||
@ -167,7 +170,7 @@ def build(bld):
|
|||||||
'client/avi/*.c'])
|
'client/avi/*.c'])
|
||||||
libs += ['opus']
|
libs += ['opus']
|
||||||
|
|
||||||
includes = ['common', 'server', 'client', 'client/vgui', 'tests', '.', '../public', '../common', '../filesystem', '../pm_shared' ]
|
includes = ['server', 'client', 'client/vgui' ]
|
||||||
|
|
||||||
if bld.env.SINGLE_BINARY:
|
if bld.env.SINGLE_BINARY:
|
||||||
install_path = bld.env.BINDIR
|
install_path = bld.env.BINDIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user