Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] add 3rd-party flags to cgal example

Subject: CGAL users discussion list

List archive

[cgal-discuss] add 3rd-party flags to cgal example


Chronological Thread 
  • From: Raul Gallegos <>
  • To:
  • Subject: [cgal-discuss] add 3rd-party flags to cgal example
  • Date: Tue, 2 Jul 2013 09:45:18 -0500

Hello,

I am creating an example on CGAL and my code is GL/gl.h and GL/glut.h libraries, to draw some simple points with opengl.

I want to add the corresponding flags (-lgl -lglu -lglut) to the compilation of my program but I don't understand make or cmake commands so I don't know where to put them.

I copied the cgal_create_CMakeLists script to my folder, then run it, and it created a CMakeLists.txt file, then I run it with cmake . and finally it gives me the Makefile, which I use to compile my code just running make.

Thank you.

--
Raul O. Gallegos Hidalgo



Archive powered by MHonArc 2.6.18.

Top of Page