pothosware / gr-pothos

Pothos bindings for GNU Radio blocks
https://github.com/pothosware/gr-pothos/wiki
GNU General Public License v3.0
12 stars 1 forks source link

Expanding Include header files for OOT GNU Radio Block #6

Open AshitakaLax opened 7 years ago

AshitakaLax commented 7 years ago

Hi I've been looking into the GNU radio block support. specifically with the gr-pothos. Specifically the Utility Assumptions https://github.com/pothosware/gr-pothos/wiki#utility-assumptions

When I install a new OOT module for gnu radio, via pybombs or manually, it is placed in appropriate prefix directory. Whether /usr/local/, ~/prefix/, or whatever. Some of the OOT Headers are installed in different Directories.

e.g. gr-ccsds(https://github.com/lofaldli/gr-ccsds) It has the following

I'm not sure if there is a way to specify the header_path manually from the cmake build. Or to scan additional include paths.

Thanks

guruofquality commented 7 years ago

Thanks for the info, ccsds sounds like a good target use case. I was thinking of expanding the CMakeLists (and GrPothosUtil.py) to take a list of additional projects like -DADDITIONAL_PROJECTS="ccsds;others;somemore" The cmake code will search both the gnuradio install prefix and the current CMAKE_INSTALL_PREFIX and include/${name}/*.h and include/gnuradio/${name}/*.h formats. As long as the additional projects are explicit, we dont have to search the entire include/* directories :-)

AshitakaLax commented 7 years ago

That sounds great.