ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/config.h.cmake
Revision: 1798
Committed: Thu Sep 13 14:10:11 2012 UTC (12 years, 7 months ago) by gezelter
File size: 2001 byte(s)
Log Message:
Merged trunk changes into the development branch

File Contents

# Content
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 // Leave MPI:: namespace out for use by Communicator:
70 #define REALTYPE FLOAT
71 #define REALTYPE_INT FLOAT_INT
72 #endif
73 #else
74 typedef double RealType;
75 #ifdef IS_MPI
76 // Leave MPI:: namespace out for use by Communicator:
77 #define REALTYPE DOUBLE
78 #define REALTYPE_INT DOUBLE_INT
79 #endif
80 #endif
81
82 #endif // __CONFIG_H