Framstag / libosmscout

Libosmscout is a C++ library for offline map rendering, routing and location lookup based on OpenStreetMap data
Other
256 stars 79 forks source link

Difference between cmake and meson installation #1582

Open Vedingrot opened 3 weeks ago

Vedingrot commented 3 weeks ago

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 commented 3 weeks ago

Also meson build generate proper soname as I suggested in https://github.com/Framstag/libosmscout/pull/1581

Framstag commented 2 weeks ago

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.