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:
Alibek Omarov
2022-07-28 18:56:02 +03:00
parent 12ea6dcfd7
commit 5e4fc64430
35 changed files with 3102 additions and 2279 deletions
+17
View File
@@ -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)