Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get the versioning right #89

Open
alexxcons opened this issue Dec 28, 2021 · 0 comments
Open

Get the versioning right #89

alexxcons opened this issue Dec 28, 2021 · 0 comments

Comments

@alexxcons
Copy link
Collaborator

alexxcons commented Dec 28, 2021

Currently the shared library is named libgnuradio-digitizers-5.1.2.0.so.0.0.0 and there are links to it generated, e.g:

libgnuradio-digitizers-5.1.2.0.so -> libgnuradio-digitizers-5.1.2.0.so.0.0.0
.
That is not very helpful if one wants to link just against the API version 5 and does not care for the minor/tiny versions.

It should rather look like this:
libgnuradio-digitizers.so.5.1.2
libgnuradio-digitizers.so.5.1 -> libgnuradio-digitizers.so.5.1.2
libgnuradio-digitizers.so.5 -> libgnuradio-digitizers.so.5.1.2
libgnuradio-digitizers.so -> libgnuradio-digitizers.so.5.1.2
or
libgnuradio-digitizers-5.so.1.2
libgnuradio-digitizers-5.so.1 -> libgnuradio-digitizers-5.so.1.2
libgnuradio-digitizers-5.so -> libgnuradio-digitizers-5.so.1.2

Just spend half an hour trying to figure out that miracles of cmake .. learned there are VERSION and a SOVERSION variables which theoretically should do the job .... though setting them seems to have no effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant