|
|
@ -735,6 +735,7 @@ class XCodeBackend(backends.Backend): |
|
|
|
product_name = target.get_basename() |
|
|
|
product_name = target.get_basename() |
|
|
|
ldargs += target.link_args |
|
|
|
ldargs += target.link_args |
|
|
|
cargs = [] |
|
|
|
cargs = [] |
|
|
|
|
|
|
|
cargs.append('-I.') |
|
|
|
for dep in target.get_external_deps(): |
|
|
|
for dep in target.get_external_deps(): |
|
|
|
cargs += dep.get_compile_args() |
|
|
|
cargs += dep.get_compile_args() |
|
|
|
ldargs += dep.get_link_args() |
|
|
|
ldargs += dep.get_link_args() |
|
|
@ -753,7 +754,7 @@ class XCodeBackend(backends.Backend): |
|
|
|
args = pargs + gargs + targs |
|
|
|
args = pargs + gargs + targs |
|
|
|
if args: |
|
|
|
if args: |
|
|
|
langargs[langnamemap[lang]] = args |
|
|
|
langargs[langnamemap[lang]] = args |
|
|
|
langargs['C'] += cargs |
|
|
|
langargs[langnamemap[lang]] += cargs |
|
|
|
symroot = os.path.join(self.environment.get_build_dir(), target.subdir) |
|
|
|
symroot = os.path.join(self.environment.get_build_dir(), target.subdir) |
|
|
|
self.write_line('%s /* %s */ = {' % (valid, buildtype)) |
|
|
|
self.write_line('%s /* %s */ = {' % (valid, buildtype)) |
|
|
|
self.indent_level += 1 |
|
|
|
self.indent_level += 1 |
|
|
|