On Oct 12, 2011, at 20:13, Tom Rondeau <trondeau1...@gmail.com> wrote:
On Wed, Oct 12, 2011 at 5:26 AM, Peter D. Massam <peter.mas...@plextek.com>wrote: > I need to be able to maintain my program for both old and new systems and > I've been looking for a version constant that I can use for conditional > compilation. > > ** > You can find the version information in $(top_builddir)/gnuradio-core/gnuradio-core.pc. This is filled in with the information in $(top_srcdir)/version.sh. Where top_builddir is where you are building the project, and top_builddir = top_srcdir if you are building in the same directory that contains the source code. In addition to compile time, in the >= 3.3 API we added a way to ask this at runtime via the gr.version() call in Python and gr_version() function from C++. (I know you're not using the 3.3 API yet, but it will be another option for you when you update your application.) Johnathan
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio