|
|
@ -987,11 +987,20 @@ int dummy; |
|
|
|
outputs = [outname_rel, outname_rel + '.mdb'] |
|
|
|
outputs = [outname_rel, outname_rel + '.mdb'] |
|
|
|
else: |
|
|
|
else: |
|
|
|
outputs = [outname_rel] |
|
|
|
outputs = [outname_rel] |
|
|
|
|
|
|
|
generated_sources = self.get_target_generated_sources(target) |
|
|
|
|
|
|
|
for rel_src in generated_sources.keys(): |
|
|
|
|
|
|
|
dirpart, fnamepart = os.path.split(rel_src) |
|
|
|
|
|
|
|
if rel_src.lower().endswith('.cs'): |
|
|
|
|
|
|
|
rel_srcs.append(rel_src) |
|
|
|
|
|
|
|
deps.append(rel_src) |
|
|
|
|
|
|
|
|
|
|
|
elem = NinjaBuildElement(self.all_outputs, outputs, 'cs_COMPILER', rel_srcs) |
|
|
|
elem = NinjaBuildElement(self.all_outputs, outputs, 'cs_COMPILER', rel_srcs) |
|
|
|
elem.add_dep(deps) |
|
|
|
elem.add_dep(deps) |
|
|
|
elem.add_item('ARGS', commands) |
|
|
|
elem.add_item('ARGS', commands) |
|
|
|
elem.write(outfile) |
|
|
|
elem.write(outfile) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self.generate_generator_list_rules(target, outfile) |
|
|
|
|
|
|
|
|
|
|
|
def generate_single_java_compile(self, src, target, compiler, outfile): |
|
|
|
def generate_single_java_compile(self, src, target, compiler, outfile): |
|
|
|
args = [] |
|
|
|
args = [] |
|
|
|
args += compiler.get_buildtype_args(self.get_option_for_target('buildtype', target)) |
|
|
|
args += compiler.get_buildtype_args(self.get_option_for_target('buildtype', target)) |
|
|
|