Subject: CGAL users discussion list
List archive
- From: Ben Supnik <>
- To:
- Subject: Re: [cgal-discuss] building CGAL for static runtime
- Date: Fri, 11 Sep 2009 01:36:10 -0400
Hi Cody,
This may not be particularly useful but...
http://dev.x-plane.com/cgit/cgit.cgi/xptools.git/tree/
Another dev got our scenery tools project to do just what you describe - the guy's a genius with makefiles. :-) Anyway, the "libs" sub-dir has the makefile he built...if you get stuck on cmd-line options to ./configure and other such stuff, it might help as a cheat-sheet.
We end up with a static .a of every lib we use in a private directory, which makes linking a snap. But...I couldn't tell you how he did it, only show you the end (and somewhat) incomprehensible results.
cheers
ben
Cody M Rose wrote:
I need to build CGAL for the static runtime, since another library I'm using
in my project uses it (and I can't change that). I managed to get CGAL itself
built properly (by changing flags in Cmake), but when I try to link my
project, I get a bunch of unresolved externals used in CGAL::Gmpz stuff. From
what I can tell, I'm not building the static version of the Gmpz libraries
(it looks like if you want multithreading, you get dynamic, but I want
multithreaded static.) I couldn't find anything in Cmake having to do with
static versus dynamic Gmpz. How can I do what I want to do?
Cody
--
Scenery Home Page: http://scenery.x-plane.com/
Scenery blog: http://xplanescenery.blogspot.com/
Plugin SDK: http://www.xsquawkbox.net/xpsdk/
X-Plane Wiki: http://wiki.x-plane.com/
Scenery mailing list:
Developer mailing list:
- [cgal-discuss] building CGAL for static runtime, Cody M Rose, 09/11/2009
- Re: [cgal-discuss] building CGAL for static runtime, Ben Supnik, 09/11/2009
- Re: [cgal-discuss] building CGAL for static runtime, Laurent Rineau (GeometryFactory), 09/11/2009
- Re: [cgal-discuss] building CGAL for static runtime, Cody M Rose, 09/11/2009
- Re: [cgal-discuss] building CGAL for static runtime, Laurent Rineau (GeometryFactory), 09/11/2009
- Re: [cgal-discuss] building CGAL for static runtime, Cody M Rose, 09/11/2009
Archive powered by MHonArc 2.6.16.