← Back to team overview

dolfin team mailing list archive

Preprocessor definitions in dolfin.pc

 

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?

 Johan



Follow ups