diff options
author | Volker Schroer <3470424+dl1ksv@users.noreply.github.com> | 2020-10-22 14:51:45 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-10-28 13:45:58 -0400 |
commit | 30aa9bf5dc0a1032356a655830815fc541810d23 (patch) | |
tree | 42f8fb4852a45d6c66457aad402255c8086b6053 /gr-utils/modtool/cli/bind.py | |
parent | 85dd61cbd2eede24a91039dd50f97670d5f3bac7 (diff) |
Make additional includes and defines available in the bind process
Diffstat (limited to 'gr-utils/modtool/cli/bind.py')
-rw-r--r-- | gr-utils/modtool/cli/bind.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gr-utils/modtool/cli/bind.py b/gr-utils/modtool/cli/bind.py index 0dad3c03b9..2ffeb36460 100644 --- a/gr-utils/modtool/cli/bind.py +++ b/gr-utils/modtool/cli/bind.py @@ -27,9 +27,11 @@ from .base import common_params, block_name, run, cli_input @click.command('bind', short_help=ModToolGenBindings.description) @click.option('-o', '--output', is_flag=True, - help='If given, a file with desired output format will be generated') -@click.option('--addl_includes',default ="", - help = 'comma separated list of additional include directories (default "")') + help = 'If given, a file with desired output format will be generated') +@click.option('--addl_includes', default = None, + help = 'Comma separated list of additional include directories (default None)') +@click.option('-D', '--define_symbols', multiple=True, default=None, + help = 'Set precompiler defines') @common_params @block_name def cli(**kwargs): |