A key thing to consider here is the setting of
``CMAKE_INSTALL_PREFIX``. You will need to be able to write to this
-directory in order to install |Gromacs| later, and if you change your
-mind later, changing it in the cache triggers a full re-build,
-unfortunately. So if you do not have super-user privileges on your
+directory in order to install |Gromacs| later.
+So if you do not have super-user privileges on your
machine, then you will need to choose a sensible location within your
home directory for your |Gromacs| installation. Even if you do have
super-user privileges, you should use them only for the installation
/*
* 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@"
/* TODO: For now, disable Doxygen warnings from here */
/*! \cond */
-/* Binary suffix for the created binaries */
-#define GMX_BINARY_SUFFIX "@GMX_BINARY_SUFFIX@"
-
-/* Installation prefix (default location of data files) */
-#define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
-
-/* Location of data files in the installation directory */
-#define DATA_INSTALL_DIR "@DATA_INSTALL_DIR@"
-
-/* Source directory for the build */
-#cmakedefine CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@"
-
-/* Binary directory for the build */
-#cmakedefine CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@"
-
/* IEEE754 floating-point format. Memory layout is defined by macros
* GMX_IEEE754_BIG_ENDIAN_BYTE_ORDER and GMX_IEEE754_BIG_ENDIAN_WORD_ORDER.
*/
#include "thread_mpi/mutex.h"
+#include "buildinfo.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
#include "gromacs/utility/gmxassert.h"
* \author Teemu Murtola <teemu.murtola@gmail.com>
* \ingroup module_commandline
*/
-// For GMX_BINARY_SUFFIX
#include "gmxpre.h"
#include "gromacs/commandline/cmdlinemodulemanager.h"
-#include "config.h"
-
#include <vector>
#include <gmock/gmock.h>
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2013,2014, by the GROMACS development team, led by
+ * Copyright (c) 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.
#include <boost/shared_ptr.hpp>
#include <gtest/gtest.h>
+#include "buildinfo.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/path.h"
#include "datafilefinder.h"
-#include "config.h"
-
#include <cstdlib>
#include <string>
#include <vector>
+#include "buildinfo.h"
#include "gromacs/utility/directoryenumerator.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2012,2013,2014, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,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.
#include "errorformat.h"
-#include "config.h"
-
#include <cctype>
#include <cstdio>
#include <cstring>
+#include "buildinfo.h"
#include "gromacs/utility/baseversion.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/stringutil.h"
#include "testinit.h"
-#include "config.h"
-
#include <cstdio>
#include <cstdlib>
#include <boost/scoped_ptr.hpp>
#include <gmock/gmock.h>
+#include "buildinfo.h"
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/commandline/cmdlinehelpwriter.h"
#include "gromacs/commandline/cmdlineinit.h"