3 # =======================================================
4 # Information to update before to release this library.
6 # Library version history:
13 SET(KSANE_LIB_MAJOR_VERSION "0")
14 SET(KSANE_LIB_MINOR_VERSION "2")
15 SET(KSANE_LIB_PATCH_VERSION "0")
17 # Suffix to add at end of version string. Usual values are:
18 # "-svn" : alpha code unstable from svn. Do not use in production
19 # "-beta1" : beta1 release.
20 # "-beta2" : beta2 release.
21 # "-beta3" : beta3 release.
22 # "-rc" : release candidate.
23 # "" : final relase. Can be used in production.
24 SET(KSANE_LIB_SUFFIX_VERSION "")
26 # Library ABI version used by linker.
27 # For details : http://www.gnu.org/software/libtool/manual.html#Updating-version-info
28 SET(KSANE_LIB_SO_CUR_VERSION "0")
29 SET(KSANE_LIB_SO_REV_VERSION "2")
30 SET(KSANE_LIB_SO_AGE_VERSION "0")
32 # =======================================================
33 # Set env. variables accordinly.
35 SET(KSANE_LIB_VERSION_STRING "${KSANE_LIB_MAJOR_VERSION}.${KSANE_LIB_MINOR_VERSION}.${KSANE_LIB_PATCH_VERSION}${KSANE_LIB_SUFFIX_VERSION}")
36 SET(KSANE_LIB_VERSION_ID "0x0${KSANE_LIB_MAJOR_VERSION}0${KSANE_LIB_MINOR_VERSION}0${KSANE_LIB_PATCH_VERSION}")
38 SET(KSANE_LIB_SO_VERSION_STRING "${KSANE_LIB_SO_CUR_VERSION}.${KSANE_LIB_SO_REV_VERSION}.${KSANE_LIB_SO_AGE_VERSION}")
40 # =======================================================
46 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libksane.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libksane.pc)
47 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libksane.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/libksane.lsm)
48 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libksane.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig )