← Back to team overview

dolfin team mailing list archive

Re: CGAL build flag

 

Oops, forgot the
return 0;
row	

Andre Massing wrote:
Johannes Ring wrote:
On Tue, Dec 1, 2009 at 11:34 AM, Anders Logg <logg@xxxxxxxxx> wrote:
Johannes, could you help Andre to add CGAL detection and build flag to
his CGAL branch of DOLFIN:

 https://code.launchpad.net/~massing/dolfin/cgal_branch

Andre can give detailed instructions on which flags are needed.

Yes, of course. Andre: It would be great if you also have a tiny
example of CGAL that I can compile and run in the pkg-config
generator.

Ok, attached a mini file printing out the CGAL version nummer.
Additonally  scons must assure that CGAL >= 3.5 is used.


Johannes

The plan is to merge the CGAL branch into DOLFIN main after the
release of 0.9.5 and then make a quick release of DOLFIN 0.9.6
with the CGAL stuff.

--
Anders

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksU8T0ACgkQTuwUCDsYZdE2RgCfb3cyn8WMBIw2E945h2meOi3H
mxcAoJG09J5SMFd/wRDU6981tL0AFV4V
=+et7
-----END PGP SIGNATURE-----



------------------------------------------------------------------------

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp
#include <CGAL/config.h>
#include <stdio.h>

int main()
{
  #ifdef CGAL_VERSION
    printf("CGAL version %g used.\n",CGAL_VERSION);
  #endif
  return 0;
}

References