diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-21 00:11:57 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-21 00:11:57 +0300 |
commit | 95ab351d5b4f062abd6415c9a7b0396ba0182ade (patch) | |
tree | 2f69eb51d694ffbaf90946a86d1cde066de0979d /project/linkage.py | |
parent | project.cmake.build: refactoring & cleanup (diff) | |
download | cmake-common-95ab351d5b4f062abd6415c9a7b0396ba0182ade.tar.gz cmake-common-95ab351d5b4f062abd6415c9a7b0396ba0182ade.zip |
project.boost.build: refactoring & cleanup
Diffstat (limited to 'project/linkage.py')
-rw-r--r-- | project/linkage.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project/linkage.py b/project/linkage.py index ffef071..29e1fff 100644 --- a/project/linkage.py +++ b/project/linkage.py @@ -24,3 +24,6 @@ class Linkage(Enum): return Linkage(s) except ValueError as e: raise argparse.ArgumentTypeError(f'invalid linkage: {s}') from e + + def b2_args(self, name='link'): + return [f'{name}={self}'] |