Move a few defines to buildinfo.h
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 16 May 2015 06:20:27 +0000 (09:20 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 17 May 2015 22:08:11 +0000 (00:08 +0200)
commit9b72659a553fb95f7be9ee0ff413dbecf895a379
tree139fe8a81b1462932a1630db03b0e95d345f6409
parentb23fad4be3871942cc5e4cf9a6dac311f51005bb
Move a few defines to buildinfo.h

Move CMAKE_INSTALL_PREFIX, CMAKE_SOURCE_DIR, and related defines to
buildinfo.h to reduce exposure of these defines.  In particular, this
removes the need for a ~full rebuild when changing the installation
prefix.

Remove GMX_BINARY_SUFFIX from config.h, as it is no longer used in any
source code.

Change-Id: I830e8df15806a22f40726947c92d2612245d8d25
docs/install-guide/index.rst
src/buildinfo.h.cmakein
src/config.h.cmakein
src/gromacs/commandline/cmdlineprogramcontext.cpp
src/gromacs/commandline/tests/cmdlinemodulemanager.cpp
src/gromacs/commandline/tests/cmdlineprogramcontext.cpp
src/gromacs/utility/datafilefinder.cpp
src/gromacs/utility/errorformat.cpp
src/testutils/testinit.cpp