On Thu, Apr 18, 2013 at 12:15 PM, Sean Nowlan <sean.now...@gtri.gatech.edu> wrote: > How does one setup cmake to find gr-blocks, gr-filter, etc. in out-of-tree > modules? Is there already a cmake routine for this, or should I copy > <gr-newmod>/cmake/Modules/FindGnuradioCore.cmake and plug in the right > names? > > --sean
There's a new FindGnuradio.cmake script, and I'm working on improving it to make it more usable by out of tree projects exactly for this purpose. You set(GR_REQUIRED_MODULES ...) and list, in all caps, which components you want (RUNTIME, BLOCKS, FILTER, etc). It will find them, setup some variables, and fail if they aren't installed on your system. If you don't set this variable, it defaults to searching for everything. As I said, though, I'm working on it to make it more easily usable, so some things about it might change. Also, can't remember if this is in master or just on next off the top of my head... Tom _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio