aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/linkage.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-21 00:11:57 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-21 00:11:57 +0300
commit95ab351d5b4f062abd6415c9a7b0396ba0182ade (patch)
tree2f69eb51d694ffbaf90946a86d1cde066de0979d /project/linkage.py
parentproject.cmake.build: refactoring & cleanup (diff)
downloadcmake-common-95ab351d5b4f062abd6415c9a7b0396ba0182ade.tar.gz
cmake-common-95ab351d5b4f062abd6415c9a7b0396ba0182ade.zip
project.boost.build: refactoring & cleanup
Diffstat (limited to 'project/linkage.py')
-rw-r--r--project/linkage.py3
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}']