mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: move build env setup to main wscript
This commit is contained in:
@@ -17,17 +17,13 @@ def configure(conf):
|
||||
return
|
||||
|
||||
def build(bld):
|
||||
bld.load_envs()
|
||||
name = get_subproject_name(bld)
|
||||
bld.env = bld.all_envs[name]
|
||||
|
||||
source = bld.path.ant_glob(['*.c'])
|
||||
libs = []
|
||||
includes = [ '.', '../common', '../engine' ]
|
||||
|
||||
bld.stlib(
|
||||
source = source,
|
||||
target = name,
|
||||
target = 'public',
|
||||
features = 'c',
|
||||
includes = includes,
|
||||
use = libs,
|
||||
|
||||
Reference in New Issue
Block a user