[docopt.cpp] 04/07: set versioning properties

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Dec 8 14:03:20 UTC 2016


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

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

commit ce9d87ab83741776c0a64311926e8121cef4a91d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Thu Dec 8 10:50:08 2016 +0000

    set versioning properties
---
 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee01e7c..eaa85e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,10 @@ if(NOT MSVC)
 	set_target_properties(docopt_s PROPERTIES OUTPUT_NAME docopt)
 endif()
 
+set_target_properties(docopt PROPERTIES
+        VERSION ${docopt.cpp_VERSION}
+        SOVERSION 0)
+
 if(USE_BOOST_REGEX)
 	add_definitions("-DDOCTOPT_USE_BOOST_REGEX")
 	# This is needed on Linux, where linking a static library into docopt.so

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



More information about the debian-science-commits mailing list