mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 21:50:59 +01:00
public: wscript: add dummy sdk_includes target that only exposes standard HLSDK include paths
This commit is contained in:
parent
17b091e5a9
commit
e54289f811
@ -16,15 +16,9 @@ def configure(conf):
|
|||||||
return
|
return
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
source = bld.path.ant_glob(['*.c'])
|
bld(name = 'sdk_includes', export_includes = '. ../common ../pm_shared ../engine')
|
||||||
libs = []
|
bld.stlib(source = bld.path.ant_glob('*.c'),
|
||||||
includes = [ '.', '../common', '../engine' ]
|
|
||||||
|
|
||||||
bld.stlib(
|
|
||||||
source = source,
|
|
||||||
target = 'public',
|
target = 'public',
|
||||||
features = 'c',
|
features = 'c',
|
||||||
includes = includes,
|
use = 'sdk_includes',
|
||||||
use = libs,
|
subsystem = bld.env.MSVC_SUBSYSTEM)
|
||||||
subsystem = bld.env.MSVC_SUBSYSTEM
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user