|
|
|
@ -13,9 +13,6 @@
@@ -13,9 +13,6 @@
|
|
|
|
|
|
|
|
|
|
import os |
|
|
|
|
|
|
|
|
|
def get_subproject_name(ctx): |
|
|
|
|
return os.path.basename(os.path.realpath(str(ctx.path))) |
|
|
|
|
|
|
|
|
|
def get_flags_by_compiler(flags, compiler): |
|
|
|
|
out = [] |
|
|
|
|
if compiler in flags: |
|
|
|
@ -30,4 +27,4 @@ def get_flags_by_type(flags, type, compiler):
@@ -30,4 +27,4 @@ def get_flags_by_type(flags, type, compiler):
|
|
|
|
|
out += get_flags_by_compiler(flags['common'], compiler) |
|
|
|
|
if type in flags: |
|
|
|
|
out += get_flags_by_compiler(flags[type], compiler) |
|
|
|
|
return out |
|
|
|
|
return out |
|
|
|
|