-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,12 @@ set(OCE_VERSION_MAJOR 0) | |
set(OCE_VERSION_MINOR 14) | ||
# OCE_VERSION_PATCH is used for bugfixes releases only | ||
# (uncomment following line) | ||
#set(OCE_VERSION_PATCH 0) | ||
set(OCE_VERSION_PATCH 1) | ||
# Empty for official releases, set to -dev, -rc1, etc for development releases | ||
set(OCE_VERSION_DEVEL) | ||
|
||
# bugfix release: add ${OCE_VERSION_PATCH} to OCE_VERSION | ||
set(OCE_VERSION ${OCE_VERSION_MAJOR}.${OCE_VERSION_MINOR}${OCE_VERSION_DEVEL}) | ||
set(OCE_VERSION ${OCE_VERSION_MAJOR}.${OCE_VERSION_MINOR}.${OCE_VERSION_PATCH}${OCE_VERSION_DEVEL}) | ||
|
||
set(OCE_ABI_SOVERSION 7) | ||
set(OCE_ABI_VERSION ${OCE_ABI_SOVERSION}.0.0) | ||
|
@@ -87,27 +87,27 @@ endif(MSVC) | |
############################ | ||
|
||
if(MSVC) | ||
set( CMAKE_LIBRARY_PREFIX "" ) | ||
set( CMAKE_LIBRARY_DEBUG_POSTFIX "d" ) | ||
set( OCE_LIBRARY_PREFIX "" ) | ||
set( CMAKE_DEBUG_POSTFIX "d" ) | ||
else(MSVC) | ||
set( CMAKE_LIBRARY_PREFIX "lib" ) | ||
set( CMAKE_LIBRARY_DEBUG_POSTFIX "" ) | ||
set( OCE_LIBRARY_PREFIX "lib" ) | ||
endif(MSVC) | ||
|
||
|
||
if(APPLE) | ||
if(OCE_NO_LIBRARY_VERSION) | ||
set( CMAKE_LIBRARY_EXTENSION ${CMAKE_SHARED_LIBRARY_SUFFIX} ) | ||
set( OCE_LIBRARY_EXTENSION ${CMAKE_SHARED_LIBRARY_SUFFIX} ) | ||
else(OCE_NO_LIBRARY_VERSION) | ||
set( CMAKE_LIBRARY_EXTENSION ".${OCE_ABI_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}" ) | ||
set( OCE_LIBRARY_EXTENSION ".${OCE_ABI_SOVERSION}${CMAKE_SHARED_LIBRARY_SUFFIX}" ) | ||
endif(OCE_NO_LIBRARY_VERSION) | ||
elseif(WIN32) | ||
# Don't encode library versions on Windows systems | ||
set( CMAKE_LIBRARY_EXTENSION ${CMAKE_SHARED_LIBRARY_SUFFIX} ) | ||
set( OCE_LIBRARY_EXTENSION ${CMAKE_SHARED_LIBRARY_SUFFIX} ) | ||
else() | ||
if(OCE_NO_LIBRARY_VERSION) | ||
set( CMAKE_LIBRARY_EXTENSION ${CMAKE_SHARED_LIBRARY_SUFFIX} ) | ||
set( OCE_LIBRARY_EXTENSION ${CMAKE_SHARED_LIBRARY_SUFFIX} ) | ||
else(OCE_NO_LIBRARY_VERSION) | ||
set( CMAKE_LIBRARY_EXTENSION "${CMAKE_SHARED_LIBRARY_SUFFIX}.${OCE_ABI_SOVERSION}" ) | ||
set( OCE_LIBRARY_EXTENSION "${CMAKE_SHARED_LIBRARY_SUFFIX}.${OCE_ABI_SOVERSION}" ) | ||
endif(OCE_NO_LIBRARY_VERSION) | ||
endif() | ||
|
||
|
@@ -1105,7 +1105,7 @@ if(CMAKE_CONFIGURATION_TYPES OR NMAKE) | |
set(OCE_DEFAULT_CSF_GraphicShr ${CMAKE_SHARED_LIBRARY_PREFIX}TKOpenGl) | ||
else() | ||
# Fully assemble the library name for the other compilers (but omit the library path). | ||
set(OCE_DEFAULT_CSF_GraphicShr ${CMAKE_SHARED_LIBRARY_PREFIX}TKOpenGl${CMAKE_LIBRARY_DEBUG_POSTFIX}${CMAKE_LIBRARY_EXTENSION}) | ||
set(OCE_DEFAULT_CSF_GraphicShr ${CMAKE_SHARED_LIBRARY_PREFIX}TKOpenGl${CMAKE_DEBUG_POSTFIX}${OCE_LIBRARY_EXTENSION}) | ||
endif() | ||
|
||
#this is the header used to build OCE | ||
|
@@ -1390,7 +1390,7 @@ set(CPACK_PACKAGE_VERSION_MAJOR ${OCE_VERSION_MAJOR}) | |
set(CPACK_PACKAGE_VERSION_MINOR ${OCE_VERSION_MINOR}) | ||
# bugfix release: add ${OCE_VERSION_PATCH} to the package version | ||
# (uncomment following line) | ||
#set(CPACK_PACKAGE_VERSION_PATCH ${OCE_VERSION_PATCH}) | ||
set(CPACK_PACKAGE_VERSION_PATCH ${OCE_VERSION_PATCH}) | ||
set(CPACK_PACKAGE_NAME OCE ) | ||
|
||
set(CPACK_PACKAGE_CONTACT "OCE Developers <[email protected]>") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters