diff options
author | Volker Schroer <3470424+dl1ksv@users.noreply.github.com> | 2021-07-31 17:14:12 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-09-02 08:29:16 -0400 |
commit | b417716a0a6e686d189596ffdaab1e4b8e9679b7 (patch) | |
tree | d83dce3bbfe94b42de62f0620a895092666ee5a2 /grc/core/blocks/_build.py | |
parent | 6c06dc9a8fb835cebd40f0aacacf268388748ecc (diff) |
grc cpp generation: Establish the possibility to add find packages
Flowgraphs may use oot modules. When generating cpp code an oot module
may require a package that is not provided by gnuradio.
So I propose to add an additional entry parameters in the cpp template
to provide a list of package names.
Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
Diffstat (limited to 'grc/core/blocks/_build.py')
-rw-r--r-- | grc/core/blocks/_build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/core/blocks/_build.py b/grc/core/blocks/_build.py index c360416b90..40155fc84f 100644 --- a/grc/core/blocks/_build.py +++ b/grc/core/blocks/_build.py @@ -57,6 +57,7 @@ def build(id, label='', category='', flags='', documentation='', callbacks=cpp_templates.get('callbacks', []), var_make=cpp_templates.get('var_make', ''), link=cpp_templates.get('link', []), + packages=cpp_templates.get('packages', []), translations=cpp_templates.get('translations', []), declarations=cpp_templates.get('declarations', ''), ) |