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