mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 14:12:04 +08:00
filesystem: introduce new module, based on engine filesystem.
The goal is to share filesystem code between engine and utilities and provide C++ VFileSystem interface in the future
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
def options(opt):
|
||||
pass
|
||||
|
||||
def configure(conf):
|
||||
if conf.env.cxxshlib_PATTERN.startswith('lib'):
|
||||
conf.env.cxxshlib_PATTERN = conf.env.cxxshlib_PATTERN[3:]
|
||||
|
||||
def build(bld):
|
||||
bld.shlib(target = 'filesystem_stdio',
|
||||
features = 'c',
|
||||
source = bld.path.ant_glob(['*.c']),
|
||||
includes = ['.', '../common', '../public', '../engine'],
|
||||
use = ['public'],
|
||||
install_path = bld.env.LIBDIR,
|
||||
subsystem = bld.env.MSVC_SUBSYSTEM)
|
||||
Reference in New Issue
Block a user