Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] disable autolinking?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] disable autolinking?


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] disable autolinking?
  • Date: Thu, 31 Mar 2011 16:04:01 +0200
  • Organization: GeometryFactory

On jeudi 31 mars 2011 14:50:07 Dominik Szczerba wrote:
> I have compiled only one version of CGAL (RelWithDebInfo) and the library
> is named CGAL-vc100-mt-g.lib. But linking to CGAL from my app I get an
> error that CGAL-vc100-mt.lib is not found.

Is that an error of the linker, or is that an error of the makefiles produced
by CMake (and the error would be an error given my make or nmake).

CGAL CMake scripts are designed only for Debug and Release. RelWithDebInfo is
not supported by our scripts (I personnaly do not know the reason).

> Interestingly,
> defining CGAL_NO_AUTOLINK does not seem to disable this error. If I copy my
> lib under this name then he goes on in the same fashion about other libs
> (GMP, MPFR, ...) which I also compiled only once with RelWithDebInfo. Is it
> possible to disable CGAL autolinking or I am forced to use Release and
> Debug variants for CGAL and all its dependencies?

/D CGAL_NO_AUTOLINK should disable the autolinking of all CGAL libraries.



Archive powered by MHonArc 2.6.16.

Top of Page