The branch, master has been updated
via c9a460e336631ed3d21e6f870d4137d5e98c30a7 (commit)
from be4bae37b3f851d7e06610fe474d84a3b2371efb (commit)
- Log -----------------------------------------------------------------
commit c9a460e336631ed3d21e6f870d4137d5e98c30a7
Author: Anders Larsen <al@xxxxxxxxxxx>
Date: Mon Apr 9 17:29:24 2012 +0200
Bump the library version number to 2.0.0
Allow libftdi-1.0 to co-exist with libftdi-0.x to ease migration.
Signed-off-by: Anders Larsen <al@xxxxxxxxxxx>
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 4 ++--
ftdipp/CMakeLists.txt | 2 +-
src/CMakeLists.txt | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67f0c22..4c43a48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
# Project
project(libftdi)
-set(MAJOR_VERSION 0)
-set(MINOR_VERSION 99)
+set(MAJOR_VERSION 1)
+set(MINOR_VERSION 0)
set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION})
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt
index ced58b3..23000c9 100644
--- a/ftdipp/CMakeLists.txt
+++ b/ftdipp/CMakeLists.txt
@@ -25,7 +25,7 @@ if (FTDIPP)
add_library(ftdipp SHARED ${cpp_sources})
math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1") # Compatiblity with
previous releases
- set_target_properties(ftdipp PROPERTIES VERSION
${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 1)
+ set_target_properties(ftdipp PROPERTIES VERSION
${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2)
# Static library
add_library(ftdipp-static STATIC ${cpp_sources})
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b7ae085..7ce9eda 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,7 +24,7 @@ set(c_headers ftdi.h)
add_library(ftdi SHARED ${c_sources})
math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1") # Compatiblity with
previous releases
-set_target_properties(ftdi PROPERTIES VERSION
${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 1)
+set_target_properties(ftdi PROPERTIES VERSION
${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2)
# Static library
add_library(ftdi-static STATIC ${c_sources})
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|