0a8f07aca600939f15edcfb6c93434c9e17cedba
[alexxy/gromacs.git] / src / buildinfo.h.cmakein
1 /*
2  * This file is part of the GROMACS molecular simulation package.
3  *
4  * Copyright (c) 2012,2013,2014,2015,2017,2018,2019, by the GROMACS development team, led by
5  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
6  * and including many others, as listed in the AUTHORS file in the
7  * top-level source directory and at http://www.gromacs.org.
8  *
9  * GROMACS is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public License
11  * as published by the Free Software Foundation; either version 2.1
12  * of the License, or (at your option) any later version.
13  *
14  * GROMACS is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with GROMACS; if not, see
21  * http://www.gnu.org/licenses, or write to the Free Software Foundation,
22  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
23  *
24  * If you want to redistribute modifications to GROMACS, please
25  * consider that scientific software is very special. Version
26  * control is crucial - bugs must be traceable. We will be happy to
27  * consider code for inclusion in the official distribution, but
28  * derived work must not be called official GROMACS. Details are found
29  * in the README & COPYING files - if they are missing, get the
30  * official version at http://www.gromacs.org.
31  *
32  * To help us fund GROMACS development, we humbly ask that you cite
33  * the research papers on the package. Check out http://www.gromacs.org.
34  */
35 /*! \internal \file
36  * \brief
37  * Build information from the build system.
38  *
39  * Used for log and version output.
40  */
41
42 /** C compiler used to build */
43 #define BUILD_C_COMPILER        "@BUILD_C_COMPILER@"
44
45 #include "compilerflaginfo-@CMAKE_BUILD_TYPE@-C.h"
46
47 /** C++ compiler flags used to build, or empty string if no C++ */
48 #define BUILD_CXX_COMPILER      "@BUILD_CXX_COMPILER@"
49
50 #include "compilerflaginfo-@CMAKE_BUILD_TYPE@-CXX.h"
51
52 /** Installation prefix (default location of data files) */
53 #define CMAKE_INSTALL_PREFIX    "@CMAKE_INSTALL_PREFIX@"
54
55 /** Source directory for the build */
56 #define CMAKE_SOURCE_DIR        "@CMAKE_SOURCE_DIR@"
57
58 /** Directory for test input files */
59 #define GMX_TESTSIMULATIONDATABASE_DIR  "@CMAKE_SOURCE_DIR@/src/testutils/simulationdatabase"
60
61 /** Binary directory for the build */
62 #define CMAKE_BINARY_DIR        "@CMAKE_BINARY_DIR@"
63
64 /** Location of GROMACS-specific data files */
65 #define GMX_INSTALL_GMXDATADIR  "@GMX_INSTALL_GMXDATADIR@"
66
67 /** HWLOC version information */
68 #define HWLOC_VERSION "@HWLOC_VERSION@"
69
70 /** CUDA compiler version information */
71 #define CUDA_COMPILER_INFO "@CUDA_COMPILER_INFO@"
72
73 /** CUDA compiler flags (device flags, plus host flags if propagated)*/
74 #define CUDA_DEVICE_COMPILER_FLAGS "@CUDA_DEVICE_COMPILER_FLAGS@"
75 #define CUDA_HOST_COMPILER_FLAGS @CUDA_HOST_COMPILER_FLAGS@
76 #define CUDA_COMPILER_FLAGS CUDA_DEVICE_COMPILER_FLAGS CUDA_HOST_COMPILER_FLAGS
77
78 /** OpenCL include dir */
79 #define OPENCL_INCLUDE_DIR "@OpenCL_INCLUDE_DIR@"
80
81 /** OpenCL library */
82 #define OPENCL_LIBRARY "@OpenCL_LIBRARY@"
83
84 /** OpenCL version */
85 #define OPENCL_VERSION_STRING "@OpenCL_VERSION_STRING@"