-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add library versioning to Make/CMake build systems #417
Conversation
I tested this on Linux and macOS. |
Hi @a3f! Thank you very much for the addition! Just added one comment review... |
src/meson.build
Outdated
@@ -18,5 +18,5 @@ raylib = library('raylib', | |||
source_c, | |||
dependencies : [ glfw_dep, gl_dep, openal_dep, m_dep, x11_dep], | |||
install : true, | |||
version : '1.8.0') | |||
version : '1.9.2') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the library version.
https://github.com/raysan5/raylib/blob/master/meson.build#L1 is the version of raylib.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should both be set to the same new value and if so what's the difference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the changes to meson.build
, so you can see what changes would be appropriate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be best to remove meson.build and src/meson.build completely, since with this PR it doesn't provide anything more than Make/CMake does provide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be a possibility as well. I pushed one more commit that does that.
See raysan5#401 for the discussion. Also bumps version number to 1.9.2 without the -dev, because neither ELF nor MachO like such a suffix. The -dev suffix will have to be restricted to the git tags.
Less maintenance overhead that way, given that make/CMake now also do library versioning.
See #401 for the discussion.
Also bumps version number to 1.9.2 without the -dev,
because neither ELF nor MachO like such a suffix for the compatibility version.
The -dev suffix will have to be restricted to the git tags.