diff options
author | Raphael Salamon <killekulla@rdrz.de> | 2019-02-13 21:38:11 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-19 19:41:57 +0200 |
commit | c23ac0b3dcf67d9da6080222955daeda5ddc7a0b (patch) | |
tree | aa138757ad1a8c1dfff8756067813b834b1e4d0e /mesonbuild/build.py | |
parent | 37a962e90c38f094819973d5d45fa25054caa1ca (diff) | |
download | meson-c23ac0b3dcf67d9da6080222955daeda5ddc7a0b.zip meson-c23ac0b3dcf67d9da6080222955daeda5ddc7a0b.tar.gz meson-c23ac0b3dcf67d9da6080222955daeda5ddc7a0b.tar.bz2 |
Allow custom targets with same name in project and subprojects
closes #4377
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r-- | mesonbuild/build.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index e8aa8f4..2187d3e 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1890,9 +1890,6 @@ class CustomTarget(Target): repr_str = "<{0} {1}: {2}>" return repr_str.format(self.__class__.__name__, self.get_id(), self.command) - def get_id(self): - return self.name + self.type_suffix() - def get_target_dependencies(self): deps = self.dependencies[:] deps += self.extra_depends |