|Subject:||Re: [Discuss-gnuradio] Clarification|
|Date:||Sat, 9 Aug 2014 10:25:22 +0800|
On 08/08/2014 03:25 PM, Tom Rondeau wrote:Thanks -- I was thinking the same lines and starting to doubt myself.
> 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.
Quick tip to those who don't know: We have build targets for C++ only,
> 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.
so you can do
$ make gnuradio-MODULENAME
to only run the C++ compilation and skip swig. Useful for fast iterating
when debugging with tests.
> If you're honestly seeing this happen, we'll definitely try to track
> down the reason why.
> Discuss-gnuradio mailing list
Discuss-gnuradio mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|