Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL header only installation usage

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL header only installation usage


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL header only installation usage
  • Date: Mon, 16 Jan 2017 16:47:06 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:+pQnWxY9usXdS+5ghGQPQaL/LSx+4OfEezUN459isYplN5qZrs67bnLW6fgltlLVR4KTs6sC0LuK9fu9EjVRsN6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6twvcu8kZjYd/Lqs8zgbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRyhuRJx3oDaboKSNPVwfKzdc9wVS2VdUctKSyxPH5mxY5cTA+cAI+pVqZT2qVsUrRu5AAmhHO3jxDlSiX/rx601zeIhER3b1wI8HtIOtmrbo8/oNKwPVey40qjGwCnFYf9N2Dny9o/IchU/rvGQR7JxccrfxlMzGAPZiVWQs4zkMzab2u8QtGWb6/BvVf+1i2E5rQFxviKjxt0tionPmI0a0E3E+D5lz4Y6P9K4TFR3Ydm+EJtfriyXMZZ9TM0lQ2Ftoik6y7sGtIancygF0psnwwTTa/udc4iH+h7jW/ieITB9hH17ZLK/nRaz8Ua6xeLgSsm010xKrypfntbQsXAN0hre4dWERPtl5kqs1jeC2xrO5u1YIU04j6XWJ4M7zrItmZcesFzPEyD3lUnskaObdUsp9vKn5unjeLnqu5GROoByhwrjKKohgNa/Dv49MgUWX2iU5+C81Lr78EHkWrlKi/o2n6javZzAIMQUvK+5AwtM3oYk9ha/Ey2q0NMGnXkHNl5FfgyIj5TxN1HPJvD3E+u/jkyjnTpq3fzKI6HtD5XXInXMjbvtZ6tx5kFdxQYryNBQ/ZNUCrUPIPLpXU/xscTVDhsjPAyp2eboFtN91p8EVWKVA6+ZNr3dvkWV5u80P+aMa5UauDLnJ/gi/f7ugmc1mUUBcqmxwZsXdHe4E+x6LEWWe3Xshs4NHnoLvgolUOPqlUaCUSVIanapX6M84yk7B5i8AYfCQICtmr2B0z2hEp1YfGAVQmyLRHznfoHBV/YXYz+JOedglCYFXP6vUdwPzxar4UXewqd9I+zIshcZs5/qyZA1zML6sVYd+DtxAtiHwk+ERH1zhHJJDXdi2Kliu0F71hGZ0K51iuFwHtNa47VOSAhsZs2U9PBzF92nAlGJRdyOUlvzGtg=
  • Organization: GeometryFactory

Le Monday, January 16, 2017 4:33:45 PM CET Anjishnu Bandyopadhyay a ?crit :
> Hi,
>
> Thanks. Maybe a stupid question but what does LINKED_WITH_TBB signify?

No, the question is not stupid, because we know the name of the macro is not
a good one: `CGAL_LINKED_WITH_TBB` tells the compiler that `<tbb.h>` can be
included. That macro is set by our CMake scripts when TBB is detected. And
the CMake scripts will also ensure that the produced binaries will be linked
with libtbb.


Actually, when I said:

> Yes, if you do not use our CMake scripts, there might be macros to define,
> such as
>
> -DCGAL_LINKED_WITH_TBB
> -DCGAL_USE_GMP
> -DCGAL_USE_MPFR
> -DCGAL_USE_ZLIB
>
> depending on which third-party libraries you use.

... I forgot to say that at link time the third-party libraries (such as
libgmp.so, libmpfr.so) must be linked with. Otherwise you will have link
errors.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page