Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] About the adding the Compiler optimization

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] About the adding the Compiler optimization


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] About the adding the Compiler optimization
  • Date: Thu, 11 Apr 2013 16:53:09 +0200
  • Organization: GeometryFactory

When using cmake, you can do (if the cache is clean)

cmake -DCMAKE_BUILD_TYPE=Release .

If you use this option when building the lib CGAL, simply choosing the
correct
build of CGAL will switch this on.

See also
http://www.cgal.org/Manual/latest/doc_html/installation_manual/Chapter_installation_manual.html#Section_14

Sebastien.



On 04/11/2013 03:24 PM, arno wrote:
> Hello everyone:
> I am a stranger to the makefile, could anyone tell me how to add the
> compiler optimization when compiling the example in
> 'CGAL-4.1/examples/', and what is the default compiler optimization
> flag(O1,O2 or O3)? I am using the g++-4.7, ubuntu 12.10. Thanks a lot!
> Chunhui Zhang---Xidian University from China.




Archive powered by MHonArc 2.6.18.

Top of Page