Cmake question

I need to modify the SONAME of some gnuradio libs.

In the gnuradio/volk/CMakeList.txt there is an entry

set_target_properties(volk PROPERTIES SOVERSION ${LIBVER})

that sets the SONAME. But how is this done for other libs like
gnuradio-runtime or gnuradio-pmt.
I did not identfy the statements doing this.

Thanks in advance

– Volker

Hi Volker - Actually, the command you quote just sets the -version- of
the library, not the name. The name is set by default as the target
name, though one can change the name to something else via a similar
set_target_properties command. Hope this helps! - MLD

Michael, thank you for the quick response.
My question was a bit misleading. I don’t want to modify the library
name but the version number.
In the volk directory I found the correspondent entry

set_target_properties(volk PROPERTIES SOVERSION ${LIBVER})

in the gnuradio-runtime/lib/CMakeFile.txt

Which command sets the version number to 0.0.0

–Volker

Now I got it.
In GrMiscutils.cmake the SOVERSION is set.

Thanks to all.

– Volker

Am 06.07.2015 um 17:41 schrieb Volker S.:

On Mon, Jul 6, 2015 at 11:41 AM, Volker S. [email protected] wrote:

Which command sets the version number to 0.0.0

–Volker

volk/cmake/Modules/VolkVersion.cmake sets LIBVER. Two things:

a) It shouldn’t be 0.0.0 at this point.
b) This is mostly the same file as
gnuradio/cmake/Modules/GrVersion.cmake
but I cut out a version number because VOLK is a much smaller project
than
GNU Radio and requires less version info.