Saturday, July 13, 2019

Re: [Discuss-gnuradio] How should I ignore certain block and add g++ compile options in compiling GNU Radio blocks ?

You can remove the block that you don't want to be compiled from the
lib/CMakeLists.txt .

Generally, as a good development practice, try to use git branches for
different features, with the "master" branch always being your "main"
branch into which you only merge working features :)

Best regards,
Marcus

On Sat, 2019-07-13 at 14:08 +0000, Bowen Hu wrote:
> Hi all,
>
> I am working on my OOT block in GNU Radio now. I implemented a block
> but I have not finish it yet, while I completed another block, I want
> to build only the one that I completed. But according to the default
> cmake rules, they always seem to be compiled together, thus there are
> a lot of compile error because there are some unfinished part. How
> should I just compile the one that I need at the moment.
>
> My module also need some specific g++ compile option, namely
> -rdynamic and -ldl, I wonder where should I put these rules in the
> makefile?
>
> Thanks in advance for any advice.
>
> Best regards,
> Bowen
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment