discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Clarification


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Clarification
Date: Fri, 08 Aug 2014 16:09:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 08/08/2014 03:25 PM, Tom Rondeau wrote:
>     I also ran into this problem that SWIG files aren't generated again when
>     I change a block interface in a header from "include/" directory. I
>     always have to make clean when I do that in order to successfully
>     compile. Can it be easily corrected by editing cmake files?
> 
>     Piotr Krysik
> 
> Are you guys sure about that behavior? Any change to an include file
> that's referenced by SWIG (if you're using gr_modtool to add new blocks,
> then this is always true), then any change, even just adding a space, to
> the public header file will trigger a rerun of swig. You should /not/
> have to run "make clean" ever time you update your header file.

Thanks -- I was thinking the same lines and starting to doubt myself.

> In fact, I often find this problematic if, for instance, I accidentally
> save a silly change in block.h that launches a rebuild of everything.

Quick tip to those who don't know: We have build targets for C++ only,
so you can do

$ make gnuradio-MODULENAME

to only run the C++ compilation and skip swig. Useful for fast iterating
when debugging with tests.

M

> If you're honestly seeing this happen, we'll definitely try to track
> down the reason why.
> 
> Tom
>  
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]