Changed: #842 Added SOVERSION property to shared libraries

This commit is contained in:
kervala 2010-06-26 13:22:06 +02:00
parent b52ce97c5f
commit 81a6cc4bd4
7 changed files with 15 additions and 4 deletions

View file

@ -6,6 +6,7 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${MAXSDK_INCLUDE_DIR} ${MAXSDK_CS_INC
TARGET_LINK_LIBRARIES(nel_mesh_lib ${LIBXML2_LIBRARIES} nelmisc) TARGET_LINK_LIBRARIES(nel_mesh_lib ${LIBXML2_LIBRARIES} nelmisc)
SET_TARGET_PROPERTIES(nel_mesh_lib PROPERTIES SET_TARGET_PROPERTIES(nel_mesh_lib PROPERTIES
VERSION ${NL_VERSION} VERSION ${NL_VERSION}
SOVERSION ${NL_VERSION_MAJOR}
LINK_FLAGS "/NODEFAULTLIB:libcmt" LINK_FLAGS "/NODEFAULTLIB:libcmt"
DEBUG_POSTFIX "_d" DEBUG_POSTFIX "_d"
RELEASE_POSTFIX "_r" RELEASE_POSTFIX "_r"

View file

@ -10,6 +10,7 @@ TARGET_LINK_LIBRARIES(nel_patch_lib
${MAXSDK_LIBRARIES}) ${MAXSDK_LIBRARIES})
SET_TARGET_PROPERTIES(nel_patch_lib PROPERTIES SET_TARGET_PROPERTIES(nel_patch_lib PROPERTIES
VERSION ${NL_VERSION} VERSION ${NL_VERSION}
SOVERSION ${NL_VERSION_MAJOR}
LINK_FLAGS "/NODEFAULTLIB:libcmt" LINK_FLAGS "/NODEFAULTLIB:libcmt"
DEBUG_POSTFIX "_d" DEBUG_POSTFIX "_d"
RELEASE_POSTFIX "_r" RELEASE_POSTFIX "_r"

View file

@ -10,6 +10,7 @@ INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(logic_editor_dll ${LIBXML2_LIBRARIES} nelmisc nellogic nelnet) TARGET_LINK_LIBRARIES(logic_editor_dll ${LIBXML2_LIBRARIES} nelmisc nellogic nelnet)
SET_TARGET_PROPERTIES(logic_editor_dll PROPERTIES SET_TARGET_PROPERTIES(logic_editor_dll PROPERTIES
VERSION ${NL_VERSION} VERSION ${NL_VERSION}
SOVERSION ${NL_VERSION_MAJOR}
DEBUG_POSTFIX "_d" DEBUG_POSTFIX "_d"
RELEASE_POSTFIX "_r" RELEASE_POSTFIX "_r"
PROJECT_LABEL "Tools, Logic: Logic Editor DLL") PROJECT_LABEL "Tools, Logic: Logic Editor DLL")

View file

@ -12,7 +12,9 @@ ENDIF(NOT WIN32)
INCLUDE_DIRECTORIES(${NEL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${NEL_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(ryzom_clientsheets ryzom_gameshare ${NELMISC_LIBRARY}) TARGET_LINK_LIBRARIES(ryzom_clientsheets ryzom_gameshare ${NELMISC_LIBRARY})
SET_TARGET_PROPERTIES(ryzom_clientsheets PROPERTIES VERSION ${NL_VERSION}) SET_TARGET_PROPERTIES(ryzom_clientsheets PROPERTIES
VERSION ${NL_VERSION}
SOVERSION ${NL_VERSION_MAJOR})
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(ryzom_clientsheets PROPERTIES COMPILE_FLAGS "/Yustdpch.h") SET_TARGET_PROPERTIES(ryzom_clientsheets PROPERTIES COMPILE_FLAGS "/Yustdpch.h")

View file

@ -11,7 +11,9 @@ ENDIF(WIN32)
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(gameplay_module_lib ${NELMISC_LIBRARY}) TARGET_LINK_LIBRARIES(gameplay_module_lib ${NELMISC_LIBRARY})
SET_TARGET_PROPERTIES(gameplay_module_lib PROPERTIES VERSION ${NL_VERSION}) SET_TARGET_PROPERTIES(gameplay_module_lib PROPERTIES
VERSION ${NL_VERSION}
SOVERSION ${NL_VERSION_MAJOR})
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(gameplay_module_lib SET_TARGET_PROPERTIES(gameplay_module_lib

View file

@ -12,7 +12,9 @@ ENDIF(WIN32)
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${NEL_INCLUDE_DIR})
TARGET_LINK_LIBRARIES(pd_lib ${NELMISC_LIBRARY}) TARGET_LINK_LIBRARIES(pd_lib ${NELMISC_LIBRARY})
SET_TARGET_PROPERTIES(pd_lib PROPERTIES VERSION ${NL_VERSION}) SET_TARGET_PROPERTIES(pd_lib PROPERTIES
VERSION ${NL_VERSION}
SOVERSION ${NL_VERSION_MAJOR})
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(pd_lib SET_TARGET_PROPERTIES(pd_lib

View file

@ -10,7 +10,9 @@ TARGET_LINK_LIBRARIES(server_share ${NELMISC_LIBRARY}
${NELPACS_LIBRARY} ${NELPACS_LIBRARY}
${MYSQL_LIBRARIES} ${MYSQL_LIBRARIES}
${ZLIB_LIBRARIES}) ${ZLIB_LIBRARIES})
SET_TARGET_PROPERTIES(server_share PROPERTIES VERSION ${NL_VERSION}) SET_TARGET_PROPERTIES(server_share PROPERTIES
VERSION ${NL_VERSION}
SOVERSION ${NL_VERSION_MAJOR})
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(server_share SET_TARGET_PROPERTIES(server_share