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: Dominik Szczerba <>
  • To:
  • Cc: "Laurent Rineau (GeometryFactory)" <>
  • Subject: Re: [cgal-discuss] disable autolinking?
  • Date: Thu, 31 Mar 2011 17:34:23 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=vJTRlnfc2bNW4fOfnEhfuUEBtNJ0vj2s3vMVMH3vDsx+eqv62/d/xFTwPdyRPRiNgu tNVB0+mEecJJJxi/lChbloz48Y02MU4TUIqTRB57oN1gsSoa0hygM2e+l2PKQzX5GLkJ /+XZ+81b/N9PN3v+LOH/MqiV54sJO5J2CmvAE=

On Thu, Mar 31, 2011 at 4:04 PM, Laurent Rineau (GeometryFactory)
<>
wrote:
> 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).

Thanks a lot, this is useful to know, if very regretful.

>
>> 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.

I do this and still get my own libraries ignored for the non-existent
ones. I understand that RelWithDebInfo is not supported but still, I
should be able to link against any library I want at own risk with
autolinking disabled, no?

Regards,
Dominik


>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>
>



Archive powered by MHonArc 2.6.16.

Top of Page