mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
Alibek Omarov
5e4fc64430
The goal is to share filesystem code between engine and utilities and provide C++ VFileSystem interface in the future
18 lines
442 B
Python
18 lines
442 B
Python
#!/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)
|