[asl] 19/177: Cmake: adding .so versions

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Aug 27 09:22:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository asl.

commit f230540c2902f1b9f93556f9e1fb24b01a46f086
Author: AvtechScientific <AvtechScientific at users.noreply.github.com>
Date:   Thu Jun 11 22:23:28 2015 +0300

    Cmake: adding .so versions
---
 src/CMakeLists.txt               | 4 ++++
 src/acl/CMakeLists.txt           | 1 +
 src/acl/Operators/CMakeLists.txt | 1 +
 src/acl/aclMath/CMakeLists.txt   | 1 +
 src/data/CMakeLists.txt          | 1 +
 src/math/CMakeLists.txt          | 1 +
 src/num/CMakeLists.txt           | 1 +
 src/numExtend/CMakeLists.txt     | 1 +
 8 files changed, 11 insertions(+)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 042ce02..36b0801 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -27,6 +27,7 @@ set(aslCommon_SOURCES
 )
 
 add_library(aslCommon ${aslCommon_SOURCES})
+set_target_properties(aslCommon PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 target_link_libraries(aslCommon ${Boost_LIBRARIES})
 INSTALL_SUBLIB(aslCommon aslCommon_PUBLIC_HEADERS)
 
@@ -55,6 +56,7 @@ set(asl_SOURCES
 )
 
 add_library(asl ${asl_SOURCES})
+set_target_properties(asl PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 target_link_libraries(asl aslCommon aslacl asldata aslmath ${Boost_LIBRARIES})
 INSTALL_SUBLIB(asl asl_PUBLIC_HEADERS)
 
@@ -77,6 +79,7 @@ set(aslvtk_SOURCES
 )
 
 add_library(aslvtk ${aslvtk_SOURCES})
+set_target_properties(aslvtk PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 target_link_libraries(aslvtk ${VTK_LIBRARIES} ${OpenCL_LIBRARIES})
 INSTALL_SUBLIB(aslvtk aslvtk_PUBLIC_HEADERS)
 
@@ -100,6 +103,7 @@ if (WITH_MATIO)
 	)
 
 	add_library(aslmatio ${aslmatio_SOURCES})
+	set_target_properties(aslmatio PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 	target_link_libraries(aslmatio ${MATIO_LIBRARIES})
 	INSTALL_SUBLIB(aslmatio aslmatio_PUBLIC_HEADERS)
 endif (WITH_MATIO)
diff --git a/src/acl/CMakeLists.txt b/src/acl/CMakeLists.txt
index 33b0b60..a39ad5d 100644
--- a/src/acl/CMakeLists.txt
+++ b/src/acl/CMakeLists.txt
@@ -63,5 +63,6 @@ set(aslacl_SOURCES
 )
 
 add_library(aslacl ${aslacl_SOURCES})
+set_target_properties(aslacl PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 target_link_libraries(aslacl aslCommon aslaclOperators aslaclMath ${OpenCL_LIBRARIES})
 INSTALL_SUBLIB(aslacl aslacl_PUBLIC_HEADERS)
diff --git a/src/acl/Operators/CMakeLists.txt b/src/acl/Operators/CMakeLists.txt
index 0154013..35df43a 100644
--- a/src/acl/Operators/CMakeLists.txt
+++ b/src/acl/Operators/CMakeLists.txt
@@ -57,5 +57,6 @@ set(aslaclOperators_SOURCES
 )
 
 add_library(aslaclOperators ${aslaclOperators_SOURCES})
+set_target_properties(aslaclOperators PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 target_link_libraries(aslaclOperators ${OpenCL_LIBRARIES})
 INSTALL_SUBLIB(aslaclOperators aslaclOperators_PUBLIC_HEADERS)
diff --git a/src/acl/aclMath/CMakeLists.txt b/src/acl/aclMath/CMakeLists.txt
index 1c47c66..b2c6cbf 100644
--- a/src/acl/aclMath/CMakeLists.txt
+++ b/src/acl/aclMath/CMakeLists.txt
@@ -28,4 +28,5 @@ set(aslaclMath_SOURCES
 )
 
 add_library(aslaclMath ${aslaclMath_SOURCES})
+set_target_properties(aslaclMath PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 INSTALL_SUBLIB(aslaclMath aslaclMath_PUBLIC_HEADERS)
diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt
index 5737c14..9f8ed17 100644
--- a/src/data/CMakeLists.txt
+++ b/src/data/CMakeLists.txt
@@ -23,4 +23,5 @@ set(asldata_SOURCES
 )
 
 add_library(asldata ${asldata_SOURCES})
+set_target_properties(asldata PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 INSTALL_SUBLIB(asldata asldata_PUBLIC_HEADERS)
diff --git a/src/math/CMakeLists.txt b/src/math/CMakeLists.txt
index 25859e4..fec064b 100644
--- a/src/math/CMakeLists.txt
+++ b/src/math/CMakeLists.txt
@@ -38,4 +38,5 @@ set(aslmath_SOURCES
 )
 
 add_library(aslmath ${aslmath_SOURCES})
+set_target_properties(aslmath PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 INSTALL_SUBLIB(aslmath aslmath_PUBLIC_HEADERS)
diff --git a/src/num/CMakeLists.txt b/src/num/CMakeLists.txt
index ae8e6f5..18379c5 100644
--- a/src/num/CMakeLists.txt
+++ b/src/num/CMakeLists.txt
@@ -68,5 +68,6 @@ set(aslnum_SOURCES
 )
 
 add_library(aslnum ${aslnum_SOURCES})
+set_target_properties(aslnum PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 target_link_libraries(aslnum aslacl)
 INSTALL_SUBLIB(aslnum aslnum_PUBLIC_HEADERS)
diff --git a/src/numExtend/CMakeLists.txt b/src/numExtend/CMakeLists.txt
index e766041..79880f1 100644
--- a/src/numExtend/CMakeLists.txt
+++ b/src/numExtend/CMakeLists.txt
@@ -13,4 +13,5 @@ set(aslExt_SOURCES
 )
 
 add_library(aslExt ${aslExt_SOURCES})
+set_target_properties(aslExt PROPERTIES VERSION ${ASL_VERSION} SOVERSION ${ASL_VERSION_MAJOR})
 INSTALL_SUBLIB(aslExt aslExt_PUBLIC_HEADERS)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/asl.git



More information about the debian-science-commits mailing list