← Back to team overview

dolfin team mailing list archive

Re: Preprocessor definitions in dolfin.pc

 



Johan Jansson wrote:
Hi!

I ran into a snag when testing the scons build system with PETSc and using the C++ interface. It seems the preprocessor definitions (-DHAS_PETSC, -DNDEBUG, etc.) are not stored in dolfin.pc. Previously (for autotools) we had something like this:

Cflags: -I${includedir} @EXTERNAL_CFLAGS@ @CXXFLAGS@

But I'm not sure this is the best solution. Any ideas?


We should include these flags in dolfin.pc

Garth

  Johan

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




References