discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Survey: Additional static target & libtool suppor


From: CEL
Subject: Re: [Discuss-gnuradio] Survey: Additional static target & libtool support in build system
Date: Mon, 4 Feb 2019 14:07:39 +0000

I like that. I can't find a use case where I'd need both versions,
shared and statically linked.

Best regards,
Marcus

On Mon, 2019-02-04 at 14:47 +0100, Andrej Rode wrote:
> Hi all, 
> 
> During my recent work on getting the GNU Radio build system on a more
> modern CMake foundation I stumbled upon some things I'd like to know
> if someone is using them. [0]
> 
> 1. Currently each component in GNU Radio is compiled as shared
> library
> _and_ optionally a static build can be done. Because of the way it's
> currently setup every source file is compiled twice anyway and a
> shared library is always compiled as well.
> In my quest to improve the build system I'd like to remove the second
> "optional" build target for static libraries and use the  advised
> `BUILD_SHARED_LIBS` switch in CMake to _either_ build shared
> libraries
> _or_ static libraries. This will require having a separate build
> directory for building shared & static libraries, but will simplify
> the syntax in our build system immensly.
> Building static-only libraries will be possible by specfiying
> `-DBUILD_SHARED_LIBS=OFF`.
> 
> 2. Optionally when specifiying `GENERATE_LIBTOOL` .la files are
> generated by the build system. According to a comment in the
> `GR_LIBTOOL` function those files are not compatible with auto-*
> tools
> anyway and our build system is already providing package config and
> CMake package configuration files. Is there still a user out there? 
> 
> Cheers
> Andrej 
> 
> [0] https://github.com/gnuradio/gnuradio/pull/2230
> _______________________________________________
> 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]