| 1 | /* config.h.  Generated from config.h.cmake by CMake for @PROJECT_NAME@  */ | 
| 2 | #ifndef __CONFIG_H | 
| 3 | #define __CONFIG_H | 
| 4 |  | 
| 5 | #define OPENMD_VERSION_MAJOR "${VERSION_MAJOR}" | 
| 6 | #define OPENMD_VERSION_MINOR "${VERSION_MINOR}" | 
| 7 | #define OPENMD_VERSION_TINY  "${VERSION_TINY}" | 
| 8 |  | 
| 9 | #define MK_STR(s) # s | 
| 10 | #define STR_DEFINE(t, s) t = MK_STR(s) | 
| 11 |  | 
| 12 | /* Is defined if OpenMD should be compiled with single precision arithmetic. */ | 
| 13 | #cmakedefine SINGLE_PRECISION | 
| 14 |  | 
| 15 | #ifdef _MSC_VER | 
| 16 | #define _USE_MATH_DEFINES | 
| 17 | #endif | 
| 18 |  | 
| 19 | /* Is defined if the qhull library is available. */ | 
| 20 |  | 
| 21 | #cmakedefine HAVE_QHULL 1 | 
| 22 | #cmakedefine HAVE_QHULL_2011 1 | 
| 23 | #ifdef DISABLE_QHULL | 
| 24 | #undef HAVE_QHULL | 
| 25 | #endif | 
| 26 |  | 
| 27 | /* have <conio.h> */ | 
| 28 | #cmakedefine HAVE_CONIO_H 1 | 
| 29 |  | 
| 30 | /* have symbol strncasecmp */ | 
| 31 | #cmakedefine HAVE_STRNCASECMP 1 | 
| 32 |  | 
| 33 | /* define if fftw3.h exists */ | 
| 34 | #cmakedefine HAVE_FFTW3_H 1 | 
| 35 |  | 
| 36 | /* Define to 1 if you have the `z' library (-lz). */ | 
| 37 | #cmakedefine HAVE_LIBZ 1 | 
| 38 |  | 
| 39 | /* Define to the one symbol short name of this package. */ | 
| 40 | #cmakedefine PACKAGE_TARNAME | 
| 41 |  | 
| 42 | /* Define to the version of this package. */ | 
| 43 | #cmakedefine PACKAGE_VERSION | 
| 44 |  | 
| 45 | /* Define to empty if `const' does not conform to ANSI C. */ | 
| 46 | #cmakedefine const | 
| 47 |  | 
| 48 | /* Code compiled in debug mode */ | 
| 49 | #cmakedefine debug | 
| 50 |  | 
| 51 | /* Define to `__inline__' or `__inline' if that's what the C compiler | 
| 52 | calls it, or to nothing if 'inline' is not supported under any name.  */ | 
| 53 | #ifndef __cplusplus | 
| 54 | #undef inline | 
| 55 | #endif | 
| 56 |  | 
| 57 | /* Define to rpl_malloc if the replacement function should be used. */ | 
| 58 | #undef malloc | 
| 59 |  | 
| 60 | /* Define to rpl_realloc if the replacement function should be used. */ | 
| 61 | #undef realloc | 
| 62 |  | 
| 63 | /* Define to `unsigned int' if <sys/types.h> does not define. */ | 
| 64 | #undef size_t | 
| 65 |  | 
| 66 | #ifdef SINGLE_PRECISION | 
| 67 | typedef float RealType; | 
| 68 | #ifdef IS_MPI | 
| 69 | #define MPI_REALTYPE MPI_FLOAT | 
| 70 | #define MPI_REALTYPE_INT MPI_FLOAT_INT | 
| 71 | #endif | 
| 72 | #else | 
| 73 | typedef double RealType; | 
| 74 | #ifdef IS_MPI | 
| 75 | #define MPI_REALTYPE MPI_DOUBLE | 
| 76 | #define MPI_REALTYPE_INT MPI_DOUBLE_INT | 
| 77 | #endif | 
| 78 | #endif | 
| 79 |  | 
| 80 | #endif // __CONFIG_H |