Move a few defines to buildinfo.h
[alexxy/gromacs.git] / src / buildinfo.h.cmakein
index cb094830c1b4e2c44fe51453707367814767cbf3..333250ce08eddda463168aae02a69030a290deb6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 /** C++ compiler flags used to build */
 #define BUILD_CXXFLAGS          "@BUILD_CXXFLAGS@"
 
+/** Installation prefix (default location of data files) */
+#define CMAKE_INSTALL_PREFIX    "@CMAKE_INSTALL_PREFIX@"
+
+/** Source directory for the build */
+#define CMAKE_SOURCE_DIR        "@CMAKE_SOURCE_DIR@"
+
+/** Binary directory for the build */
+#define CMAKE_BINARY_DIR        "@CMAKE_BINARY_DIR@"
+
+/** Location of data files in the installation directory */
+#define DATA_INSTALL_DIR        "@DATA_INSTALL_DIR@"
+
 /** CUDA nvcc compiler version information */
 #define CUDA_NVCC_COMPILER_INFO "@CUDA_NVCC_COMPILER_INFO@"