Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] How to use CGAL functions directly in my source code, without using cmake?

Subject: CGAL users discussion list

List archive

[cgal-discuss] How to use CGAL functions directly in my source code, without using cmake?


Chronological Thread 
  • From: Yuliya Tarabalka <>
  • To:
  • Subject: [cgal-discuss] How to use CGAL functions directly in my source code, without using cmake?
  • Date: Wed, 5 Oct 2011 12:45:46 -0700 (PDT)

Hello,
I am a new user of CGAL. I want to compute a minimum enclosing rectangle of
image region, using functions convex_hull_2 and min_rectangle_2.

I have tried to use standard examples of CGAL following its manual, and it
works very well (when I use cmake . and make for sources of examples).
However, I need to incorporate and use the CGAL functions directly in our
source code, which contains itself a lot of files with a lot of makefile
etc.
I am trying to do this, but I have not been successful so far.

Could you please give me an advice what is the easiest way to use CGAL
functions in external C++ programs (without using cmake)?

Typically, when some external functions are used, it is enough to add some
#include and then functions can be used. It would be great if you explain me
a similar way for using CGAL functions. In other word, what I could insert
directly in my *.h and *.cc files to use convex_hull_2 and min_rectangle_2
functions?

Thank you very much in advance for your help!

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/How-to-use-CGAL-functions-directly-in-my-source-code-without-using-cmake-tp3875930p3875930.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.16.

Top of Page