Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Configure CGAL and my CMakeLists.txt to use Intel TBB?
  • Date: Wed, 10 Dec 2014 09:03:51 +0100
  • Organization: GeometryFactory

On 12/10/2014 09:01 AM, Sebastien Loriot (GeometryFactory) wrote:
On 12/09/2014 09:28 PM, Adam Getchell wrote:
Hello all,

I see that ~/CGAL-4.5/cmake/modules has FindTBB.cmake and UseTBB.cmake.

I apologize if this is a basic question, but how do I compile CGAL
and/or my program to make use of it?


In your cmake script you should have something like:

find_package( TBB QUIET )

if( TBB_FOUND )
include(${TBB_USE_FILE})
list(APPEND CGAL_3RD_PARTY_LIBRARIES ${TBB_LIBRARIES})
endif()

Sebastien.


Note that only the Triangulation_3 and Mesh_3 packages have some experimental parallelism support.

Sebastien.


Adam Getchell
about.me/adamgetchell







Archive powered by MHonArc 2.6.18.

Top of Page