diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-16 18:31:32 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-02-22 06:49:34 +0530 |
commit | be486a2ec84f22052fba5ba16de136de00379966 (patch) | |
tree | 0c4a71a532fc702336fbb503af730d4bf017effd /mesonbuild/compilers/compilers.py | |
parent | feb82e0f0f365d66199d697f1d99e109e2c6a700 (diff) | |
download | meson-be486a2ec84f22052fba5ba16de136de00379966.zip meson-be486a2ec84f22052fba5ba16de136de00379966.tar.gz meson-be486a2ec84f22052fba5ba16de136de00379966.tar.bz2 |
ninjabackend: List PDBs in output list for targets
This is more correct, and forces the target(s) to be rebuilt if the
PDB files are missing. Increases the minimum required Ninja to 1.7,
which is available in Ubuntu 16.04 under backports.
We can't do the same for import libraries, because it is impossible
for us to know at configure time whether or not an import library will
be generated for a given DLL.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index e8e72cf..67686a9 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -976,6 +976,9 @@ class Compiler: def get_compile_debugfile_args(self, rel_obj, **kwargs): return [] + def get_link_debugfile_name(self, targetfile: str) -> str: + return self.linker.get_debugfile_name(targetfile) + def get_link_debugfile_args(self, targetfile: str) -> T.List[str]: return self.linker.get_debugfile_args(targetfile) |