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

Difference between cmake and meson installation #1582

Open
Vedingrot opened this issue Jun 14, 2024 · 3 comments
Open

Difference between cmake and meson installation #1582

Vedingrot opened this issue Jun 14, 2024 · 3 comments
Labels
bug For issues that describe a bug build For issues in the context of building the software

Comments

@Vedingrot
Copy link

When install library with cmake .so files are installed in the lib/ directory
regardless of architecture, but when build with meson they are installed
correctrly in lib64/ directory

@Vedingrot
Copy link
Author

Also meson build generate proper soname as I suggested in #1581

@Framstag Framstag added bug For issues that describe a bug build For issues in the context of building the software labels Jun 16, 2024
@Framstag
Copy link
Owner

OK. Note that official releases uses chronver. So in general soname will not be equal to major version. There is also an aggrement that users are responsible for correct versioning, patching etc...This should not be a problem on mobile devices. Of course for classic linux distribution packaging another solution has to be found.

I also decided that developer builds to not be correct versionied artefacts.

Background: Proper semantic versioning is a pain. For libosmscout the API is not clearly defined, making strict semver difficult.

Nevertheless, the target director problems is a bug. Since my cmake know how is limited, I would except patches for this or at least hints to cmake documentation that describe the best practise solution pattern for this.

@Framstag
Copy link
Owner

Framstag commented Jul 8, 2024

@Vedingrot : Are you willing to offer a pacth for cmake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a bug build For issues in the context of building the software
Projects
None yet
Development

No branches or pull requests

2 participants