diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-02 22:56:06 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-02 23:06:26 +0100 |
commit | bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6 (patch) | |
tree | e732851b92346135bcff5686181db6074df9724b /project/boost/build.py | |
parent | workflows/basic: test more Python versions (diff) | |
download | cmake-common-bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6.tar.gz cmake-common-bc3c7c7190c5acaeb03ef82dc41cc716aaff76c6.zip |
add runtime version information
Diffstat (limited to '')
-rw-r--r-- | project/boost/build.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project/boost/build.py b/project/boost/build.py index fd73b6e..bd4fd6b 100644 --- a/project/boost/build.py +++ b/project/boost/build.py @@ -37,6 +37,7 @@ from project.os import on_linux_like from project.platform import Platform from project.toolset import Toolset, ToolsetVersion from project.utils import normalize_path, setup_logging +import project.version DEFAULT_PLATFORMS = (Platform.AUTO,) @@ -150,6 +151,8 @@ def _parse_args(argv=None): description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + project.version.add_to_arg_parser(parser) + platform_options = '/'.join(map(str, Platform.all())) configuration_options = '/'.join(map(str, Configuration.all())) # These are used to put the built libraries into proper stage/ |