Note that the Xcode DYLIB_COMPATIBILITY_VERSION should always match DYLIB_CURRENT_VERSION

CMake doesn't need any special handling
This commit is contained in:
Sam Lantinga 2022-09-05 08:48:16 -07:00
parent 4e98ba612b
commit 5cac6c7eb6
1 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
* Bump ABI version information * Bump ABI version information
* `CMakeLists.txt`, `Xcode/SDL/SDL.xcodeproj/project.pbxproj`: * `Xcode/SDL/SDL.xcodeproj/project.pbxproj`:
`DYLIB_CURRENT_VERSION`, `DYLIB_COMPATIBILITY_VERSION` `DYLIB_CURRENT_VERSION`, `DYLIB_COMPATIBILITY_VERSION`
* set first number in `DYLIB_CURRENT_VERSION` to * set first number in `DYLIB_CURRENT_VERSION` to
(100 * *minor*) + 1 (100 * *minor*) + 1
@ -42,9 +42,10 @@
* Bump ABI version information * Bump ABI version information
* `CMakeLists.txt`, `Xcode/SDL/SDL.xcodeproj/project.pbxproj`: * `Xcode/SDL/SDL.xcodeproj/project.pbxproj`:
`DYLIB_CURRENT_VERSION`, `DYLIB_COMPATIBILITY_VERSION` `DYLIB_CURRENT_VERSION`, `DYLIB_COMPATIBILITY_VERSION`
* set second number in `DYLIB_CURRENT_VERSION` to *patchlevel* * set second number in `DYLIB_CURRENT_VERSION` to *patchlevel*
* set `DYLIB_COMPATIBILITY_VERSION` to the same value
* Run test/versioning.sh to verify that everything is consistent * Run test/versioning.sh to verify that everything is consistent
@ -75,13 +76,12 @@
* Bump ABI version information * Bump ABI version information
* `CMakeLists.txt`, `Xcode/SDL/SDL.xcodeproj/project.pbxproj`: * `Xcode/SDL/SDL.xcodeproj/project.pbxproj`:
`DYLIB_CURRENT_VERSION`, `DYLIB_COMPATIBILITY_VERSION` `DYLIB_CURRENT_VERSION`, `DYLIB_COMPATIBILITY_VERSION`
* set first number in `DYLIB_CURRENT_VERSION` to * set first number in `DYLIB_CURRENT_VERSION` to
(100 * *minor*) + *patchlevel* + 1 (100 * *minor*) + *patchlevel* + 1
* set second number in `DYLIB_CURRENT_VERSION` to 0 * set second number in `DYLIB_CURRENT_VERSION` to 0
* if backwards compatibility has been broken, * set `DYLIB_COMPATIBILITY_VERSION` to the same value
increase `DYLIB_COMPATIBILITY_VERSION` (?)
* Run test/versioning.sh to verify that everything is consistent * Run test/versioning.sh to verify that everything is consistent