diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-29 13:11:56 +0000 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-29 13:11:56 +0000 |
commit | 45d5d6da1bc126a6fb5995545a4ae78d018bf753 (patch) | |
tree | 116922e37bd8b825284b283f5c71182d241b76e1 /project/ci/appveyor | |
parent | project.boost: -d0 by default (diff) | |
download | cmake-common-45d5d6da1bc126a6fb5995545a4ae78d018bf753.tar.gz cmake-common-45d5d6da1bc126a6fb5995545a4ae78d018bf753.zip |
fix READMEs, code style, etc.
Diffstat (limited to 'project/ci/appveyor')
-rw-r--r-- | project/ci/appveyor/boost.py | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/project/ci/appveyor/boost.py b/project/ci/appveyor/boost.py index 0a15b7b..875d681 100644 --- a/project/ci/appveyor/boost.py +++ b/project/ci/appveyor/boost.py @@ -5,10 +5,10 @@ R'''Download & build Boost on AppVeyor. -This is similar to build.py, but auto-fills some parameters for build.py from -the AppVeyor-defined environment variables. This script is rarely usefull, -since AppVeyor images come with lots of pre-built Boost distributions, but -still. +This is similar to running both project.boost.download & project.boost.build, +but auto-fills some parameters from the AppVeyor-defined environment variables. +This script is rarely usefull, since AppVeyor images come with lots of +pre-built Boost distributions, but still. Boost is built in C:\projects\boost. ''' @@ -67,12 +67,17 @@ def _parse_args(argv=None): parser = argparse.ArgumentParser( description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) - parser.add_argument('--link', metavar='LINKAGE', nargs='*', type=Linkage.parse, - help='how the libraries are linked (i.e. static/shared)') - parser.add_argument('--runtime-link', metavar='LINKAGE', type=Linkage.parse, + + parser.add_argument('--link', metavar='LINKAGE', + nargs='*', type=Linkage.parse, + help='how the libraries are linked') + parser.add_argument('--runtime-link', metavar='LINKAGE', + type=Linkage.parse, help='how the libraries link to the runtime') - parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[], + parser.add_argument('b2_args', metavar='B2_ARG', + nargs='*', default=[], help='additional b2 arguments, to be passed verbatim') + return parser.parse_args(argv) |