Tuesday, August 5, 2014

[Discuss-gnuradio] Handling Hier Blocks in Build Process

I'd like to keep a large number of hier blocks organized in the apps folder  (which may not be standard practice for GR). Ideally, I'd like to maintain *only* the GRC files with version control, but allow the build system to:
  • Compile the .grc files into python/xml files.
  • Install the .py files into the same location as everything else so they show up in the OOT module's namespace.  
  • Do the same for .xml files for access to GRC.
  • If there were a way to get around manually adding the resulting .py file to __init__.py, that would be a nice-to-have feature so other developers can easily add hier blocks to the module's namespace.

I was just wondering if someone could tell me if this was possible, has been done already, or might be an unreasonable thing to do for some reason.  (before I waste an afternoon).

-John

No comments:

Post a Comment