mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-22 21:04:14 +00:00
waflib: remove get_subproject_name function
This commit is contained in:
parent
b20efff57c
commit
d17fdea884
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
from waflib import Logs
|
from waflib import Logs
|
||||||
import os
|
import os
|
||||||
from fwgslib import get_subproject_name
|
|
||||||
|
|
||||||
top = '.'
|
top = '.'
|
||||||
|
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
def get_subproject_name(ctx):
|
|
||||||
return os.path.basename(os.path.realpath(str(ctx.path)))
|
|
||||||
|
|
||||||
def get_flags_by_compiler(flags, compiler):
|
def get_flags_by_compiler(flags, compiler):
|
||||||
out = []
|
out = []
|
||||||
if compiler in flags:
|
if compiler in flags:
|
||||||
@ -30,4 +27,4 @@ def get_flags_by_type(flags, type, compiler):
|
|||||||
out += get_flags_by_compiler(flags['common'], compiler)
|
out += get_flags_by_compiler(flags['common'], compiler)
|
||||||
if type in flags:
|
if type in flags:
|
||||||
out += get_flags_by_compiler(flags[type], compiler)
|
out += get_flags_by_compiler(flags[type], compiler)
|
||||||
return out
|
return out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user