ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/config.h.cmake
Revision: 1668
Committed: Fri Jan 6 19:03:05 2012 UTC (13 years, 3 months ago) by gezelter
File size: 1747 byte(s)
Log Message:
Some fixes for CMake and single precision builds

File Contents

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