Camargue
config.hpp File Reference

Configuration macros. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

Existence macros

These indicate certain features that are downloaded or supported by the compiler.

See External Dependencies for info on all of them.

#define CMR_HAVE_CATCH   1
 Define if you have downloaded the header file for Catch unit testing.
 
#define CMR_HAVE_OMP   1
 Define if your compiler supports OpenMP.
 
#define CMR_HAVE_SAFEGMI   1
 Define if you have the Cook et al. code for generating safe GMI cuts.
 
Usage macros

Catch is not threadsafe, so running Catch tests with OMP enabled can cause memory leaks with thread creation/destruction.

Thus, OMP is used iff the compiler supports it and tests are not being ran.

#define CATCH_CONFIG_FAST_COMPILE
 Catch configuration macro to help comile times.
 
#define CMR_USE_OMP   1
 Define if you want to compile tests and invoke them from the command line. More...
 

Detailed Description

Configuration macros.

This header file contains macro definitions that are used to conditionally compile sections of the code based on presence or absence of certain external dependences.

Macro Definition Documentation

#define CMR_USE_OMP   1

Define if you want to compile tests and invoke them from the command line.

Define if OMP parallelism will actually be used in the code.