Subject: CGAL users discussion list
List archive
[cgal-discuss] Statically linking CGAL libraries when building a shared library
Chronological Thread
- From: phygeeks <>
- To:
- Subject: [cgal-discuss] Statically linking CGAL libraries when building a shared library
- Date: Sun, 12 Jul 2015 14:24:44 -0700 (PDT)
Hi,
I am using CGAL for my Python code by using a small C++ code as an interface
between Python and CGAL. The code is compiled as a shared library (*.so), as
it is required by Python's ctypes.
Currently my library uses ilbCGAL*.so, therefore it requires CGAL to be
installed properly on the machine that runs the Python code, but I wonder if
I can statically link CGAL to my library so that I can share my library with
my collaborators (who are not familiar with installing CGAL) more easily. I
was able to install the static version of CGAL but have little clue how to
modify CMakeLists.txt to compile my code into a shared library with CGAL
statically linked. Can I do that, and if it is possible, how?
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Statically-linking-CGAL-libraries-when-building-a-shared-library-tp4661004.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Statically linking CGAL libraries when building a shared library, phygeeks, 07/12/2015
Archive powered by MHonArc 2.6.18.