File: build-shared-library.patch

package info (click to toggle)
vibes 0.3.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,684 kB
  • sloc: cpp: 6,120; python: 412; makefile: 214; sh: 13
file content (17 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Add CMake instructions for building the C++ library
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: https://github.com/ENSTABretagneRobotics/VIBES/issues/122
Last-Update: 2023-12-16

--- vibes-0.2.3.orig/viewer/CMakeLists.txt
+++ vibes-0.2.3/viewer/CMakeLists.txt
@@ -97,6 +78,9 @@ IF(UNIX)
 		INSTALL(TARGETS ${VIBES_viewer_EXE} DESTINATION bin)
 ENDIF(UNIX OR WIN32)
 
+add_library(vibes SHARED ../client-api/C++/src/vibes.h ../client-api/C++/src/vibes.cpp)
+set_target_properties(vibes PROPERTIES SOVERSION 0 VERSION 0.0.1)
+
 # Packaging
 IF(APPLE)
     IF(NOT QT_BINARY_DIR)