COIN-OR::LEMON - Graph Library

Opened 8 years ago

Closed 8 years ago

#433 closed enhancement (done)

Support for building shared library

Reported by: Alpar Juttner Owned by: Akos Ladanyi
Priority: major Milestone: LEMON 1.3 release
Component: build system Version: hg main
Keywords: Cc:
Revision id:

Description

it needs a single line change in lemon/CMakeLists.txt:

diff --git a/lemon/CMakeLists.txt b/lemon/CMakeLists.txt
--- a/lemon/CMakeLists.txt
+++ b/lemon/CMakeLists.txt
@@ -57,6 +57,7 @@
 INSTALL(
   TARGETS lemon
   ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib
   COMPONENT library
 )

(This could be added to the repo by default.)

Then, you can build shared library by:

cmake -DBUILD_SHARED_LIBS=yes ..

Change History (2)

comment:1 Changed 8 years ago by Alpar Juttner

Component: corebuild system
Owner: changed from Alpar Juttner to Akos Ladanyi
Type: defectenhancement

comment:2 Changed 8 years ago by Alpar Juttner

Resolution: done
Status: newclosed

[53c0dd387001] adds this feature to branches 1.1, 1.2 and default.

Note: See TracTickets for help on using tickets.