C2000: Added depfile generation for incremental builds

pull/9276/head
miebka 3 years ago committed by Jussi Pakkanen
parent 87e13af1c8
commit 59fe80602e
  1. 3
      mesonbuild/compilers/mixins/c2000.py

@ -124,3 +124,6 @@ class C2000Compiler(Compiler):
parameter_list[idx] = i[:9] + os.path.normpath(os.path.join(build_dir, i[9:]))
return parameter_list
def get_dependency_gen_args(self, outtarget: str, outfile: str) -> T.List[str]:
return ['--preproc_with_compile', f'--preproc_dependency={outfile}']

Loading…
Cancel
Save