mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00
[libromdata] Bump the SOVERSION from 2 to 3.
This is needed because, among other things, a lot of functions were moved from the LibRpBase namespace to the LibRpText namespace.
This commit is contained in:
parent
0e176a7d45
commit
52f2947f44
2
NEWS.md
2
NEWS.md
@ -56,6 +56,8 @@
|
||||
* New unit test RomHeaderTest that runs `rpcli` against a set of known ROM
|
||||
headers and reference text and JSON output. Currently has headers for
|
||||
MegaDrive (including 32X), N64, SNES, DMG, and GameBoyAdvance.
|
||||
* libromdata's SOVERSION was bumped to 3 due to, among other things, the
|
||||
librptext split.
|
||||
|
||||
## v2.1 (released 2022/12/24)
|
||||
|
||||
|
@ -415,8 +415,8 @@ IF(RP_LIBROMDATA_IS_DLL)
|
||||
ADD_DEFINITIONS(-DRP_BUILDING_FOR_DLL=1)
|
||||
# NOTE: Not using the project version here.
|
||||
# This represents the ABI version.
|
||||
SET(${PROJECT_NAME}_VERSION 2.0)
|
||||
SET(${PROJECT_NAME}_SOVERSION 2)
|
||||
SET(${PROJECT_NAME}_VERSION 3.0)
|
||||
SET(${PROJECT_NAME}_SOVERSION 3)
|
||||
IF(MSVC)
|
||||
# Delay-load sources.
|
||||
SET(${PROJECT_NAME}-DELAYLOAD_SRC ../libwin32common/DelayLoadHelper.c)
|
||||
@ -701,8 +701,8 @@ ENDIF(BUILD_TESTING)
|
||||
IF(${PROJECT_NAME}_LINKAGE STREQUAL SHARED)
|
||||
IF(WIN32)
|
||||
# NOTE: Don't install libraries.
|
||||
# That installs the import library, and romdata-2.dll's
|
||||
# ABI is not guaranteed to be stable.
|
||||
# That installs the import library, which we don't
|
||||
# want to distribute.
|
||||
INSTALL(TARGETS ${PROJECT_NAME}
|
||||
RUNTIME DESTINATION "${DIR_INSTALL_EXE}"
|
||||
LIBRARY DESTINATION "${DIR_INSTALL_DLL}"
|
||||
|
@ -188,8 +188,9 @@ IF(RP_LIBROMDATA_IS_DLL AND MSVC)
|
||||
# Delay-load libromdata if it's a DLL.
|
||||
# Otherwise, we won't be able to load it if it's in an
|
||||
# architecture-specific subdirectory.
|
||||
SET(DL_DEBUG_FLAGS "${DL_DEBUG_FLAGS} /DELAYLOAD:romdata-2d.dll")
|
||||
SET(DL_RELEASE_FLAGS "${DL_RELEASE_FLAGS} /DELAYLOAD:romdata-2.dll")
|
||||
# TODO: Global variable with the libromdata SOVERSION?
|
||||
SET(DL_DEBUG_FLAGS "${DL_DEBUG_FLAGS} /DELAYLOAD:romdata-3d.dll")
|
||||
SET(DL_RELEASE_FLAGS "${DL_RELEASE_FLAGS} /DELAYLOAD:romdata-3.dll")
|
||||
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} ${DL_DEBUG_FLAGS}")
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} ${DL_RELEASE_FLAGS}")
|
||||
|
Loading…
Reference in New Issue
Block a user