[med-svn] [gatb-core] 02/03: Build dynamic lib
Andreas Tille
tille at debian.org
Tue Dec 12 11:18:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gatb-core.
commit c94b10ffc9afd767ffe7bbededb8764b6cb84c8b
Author: Andreas Tille <tille at debian.org>
Date: Tue Dec 12 12:17:53 2017 +0100
Build dynamic lib
---
debian/patches/dynamic_lib.patch | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/debian/patches/dynamic_lib.patch b/debian/patches/dynamic_lib.patch
new file mode 100644
index 0000000..24359d3
--- /dev/null
+++ b/debian/patches/dynamic_lib.patch
@@ -0,0 +1,27 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 28 Nov 2017 10:37:22 +0100
+Description: Create additional dynamic library
+
+--- a/gatb-core/src/CMakeLists.txt
++++ b/gatb-core/src/CMakeLists.txt
+@@ -84,10 +84,10 @@ add_definitions (${gatb-core-flags})
+ include_directories (${gatb-core-includes})
+
+ add_library (gatbcore-static STATIC ${ComponentFiles} )
+-#add_library (gatbcore-dynamic SHARED ${ComponentFiles} )
++add_library (gatbcore-dynamic SHARED ${ComponentFiles} )
+
+ set_target_properties (gatbcore-static PROPERTIES OUTPUT_NAME gatbcore clean_direct_output 1)
+-#set_target_properties (gatbcore-dynamic PROPERTIES OUTPUT_NAME gatbcore clean_direct_output 1)
++set_target_properties (gatbcore-dynamic PROPERTIES OUTPUT_NAME gatbcore clean_direct_output 1)
+
+ ################################################################################
+ # INSTALLATION
+@@ -96,6 +96,7 @@ set_target_properties (gatbcore-static
+ # We install the libraries
+ IF (NOT DEFINED GATB_CORE_INSTALL_EXCLUDE)
+ install (TARGETS gatbcore-static DESTINATION lib)
++ install (TARGETS gatbcore-dynamic DESTINATION lib)
+ install (DIRECTORY ${PROJECT_SOURCE_DIR}/src/ DESTINATION include FILES_MATCHING PATTERN "*.hpp" PATTERN "*.tpp" PATTERN "*.pri" PATTERN "*.h")
+ install (FILES ${PROJECT_BINARY_DIR}/include/gatb/system/api/config.hpp DESTINATION include/gatb/system/api/)
+ ENDIF ()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gatb-core.git
More information about the debian-med-commit
mailing list