2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

filesystem: wscript: add dummy filesystem_includes target that only exposes public filesystem_stdio include paths

This commit is contained in:
Alibek Omarov 2022-09-10 19:56:12 +03:00
parent e54289f811
commit 0ed9391969

View File

@ -15,10 +15,10 @@ def configure(conf):
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
def build(bld):
bld(name = 'filesystem_includes', export_includes = '.')
bld.shlib(target = 'filesystem_stdio',
features = 'cxx',
source = bld.path.ant_glob(['*.c', '*.cpp']),
includes = ['.', '../common', '../public', '../engine'],
use = ['public'],
use = 'filesystem_includes public',
install_path = bld.env.LIBDIR,
subsystem = bld.env.MSVC_SUBSYSTEM)