mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 22:20:01 +01:00
ref_soft: update wscript
This commit is contained in:
parent
4dae13d7bc
commit
c293a7a26d
7
wscript
7
wscript
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
from waflib import Logs
|
from waflib import Logs
|
||||||
import os
|
import os
|
||||||
from fwgslib import get_subproject_name
|
|
||||||
|
|
||||||
top = '.'
|
top = '.'
|
||||||
|
|
||||||
@ -26,10 +25,6 @@ def build(bld):
|
|||||||
if bld.env.DEDICATED:
|
if bld.env.DEDICATED:
|
||||||
return
|
return
|
||||||
|
|
||||||
bld.load_envs()
|
|
||||||
name = get_subproject_name(bld)
|
|
||||||
bld.env = bld.all_envs[name]
|
|
||||||
|
|
||||||
libs = [ 'public', 'M' ]
|
libs = [ 'public', 'M' ]
|
||||||
|
|
||||||
source = bld.path.ant_glob(['*.c'])
|
source = bld.path.ant_glob(['*.c'])
|
||||||
@ -45,7 +40,7 @@ def build(bld):
|
|||||||
|
|
||||||
bld.shlib(
|
bld.shlib(
|
||||||
source = source,
|
source = source,
|
||||||
target = name,
|
target = 'ref_soft',
|
||||||
features = 'c',
|
features = 'c',
|
||||||
includes = includes,
|
includes = includes,
|
||||||
use = libs,
|
use = libs,
|
||||||
|
Loading…
Reference in New Issue
Block a user