Hi! - The main file to include for programs using GiNaC is <ginac/ginac.h>. This file will include all other public GiNaC headers in the proper order. - No public GiNaC header file should include other GiNaC header files. - GiNaC source files should include "ginac.h" and (optionally) "config.h" and other private GiNaC header files. - All GiNaC-related source files have a header that is structured like this: /** @file <file name> * * <description> * * <copyright> * * <GNU disclaimer> */ Bye, Christian -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/
Hi! On Wed, 10 Nov 1999, Christian Bauer wrote:
- No public GiNaC header file should include other GiNaC header files.
This rule is now restricted. The public header files may include all other headers which are absolutely needed (e.g. the header files for superclasses and for the classes members in objects).
- GiNaC source files should include "ginac.h" and (optionally) "config.h" and other private GiNaC header files.
Alexander pointed out that this will cause all of GiNaC to be rebuilt when one header changes. Now, the GiNaC source files include the headers (e.g. "basic.h") which are needed. Bye, Christian -- / Coding on PowerPC and proud of it \/ http://www.uni-mainz.de/~bauec002/
participants (1)
-
Christian Bauer