filesystem: wscript: add dummy filesystem_includes target that only exposes public filesystem_stdio include paths
This commit is contained in:
parent
e54289f811
commit
0ed9391969
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue