mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
filesystem: wscript: add dummy filesystem_includes target that only exposes public filesystem_stdio include paths
This commit is contained in:
parent
e54289f811
commit
0ed9391969
@ -15,10 +15,10 @@ def configure(conf):
|
|||||||
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
|
bld(name = 'filesystem_includes', export_includes = '.')
|
||||||
bld.shlib(target = 'filesystem_stdio',
|
bld.shlib(target = 'filesystem_stdio',
|
||||||
features = 'cxx',
|
features = 'cxx',
|
||||||
source = bld.path.ant_glob(['*.c', '*.cpp']),
|
source = bld.path.ant_glob(['*.c', '*.cpp']),
|
||||||
includes = ['.', '../common', '../public', '../engine'],
|
use = 'filesystem_includes public',
|
||||||
use = ['public'],
|
|
||||||
install_path = bld.env.LIBDIR,
|
install_path = bld.env.LIBDIR,
|
||||||
subsystem = bld.env.MSVC_SUBSYSTEM)
|
subsystem = bld.env.MSVC_SUBSYSTEM)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user