Add option to build a standalone mdrun binary only.
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 25 Aug 2013 04:24:28 +0000 (07:24 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 13 Sep 2013 19:18:40 +0000 (21:18 +0200)
commit6603baa6248477688d01eb720309a92aa9191e87
tree7683555411ef9e4c42651860f74326cd2fdf10f1
parent70421a8a8b7e95ee823f6bc6b82333386bb2c28b
Add option to build a standalone mdrun binary only.

This makes it again possible to build a leaner version of mdrun, without
the whole wrapper binary.  Enabling the option also removes unnecessary
stuff from libgromacs, and suffixes it with _mdrun.

This also replaces install-mdrun: 'make' builds only mdrun and
'make install' installs only mdrun when the new option is enabled.

Part of #685.

Change-Id: I8d309fadebfcdabc484d632a213ac52c558bfbf4
16 files changed:
CMakeLists.txt
admin/installguide/installguide.tex
src/CMakeLists.txt
src/gromacs/CMakeLists.txt
src/gromacs/analysisdata/CMakeLists.txt
src/gromacs/analysisdata/modules/CMakeLists.txt
src/gromacs/commandline/CMakeLists.txt
src/gromacs/fft/CMakeLists.txt
src/gromacs/linearalgebra/CMakeLists.txt
src/gromacs/onlinehelp/CMakeLists.txt
src/gromacs/options/CMakeLists.txt
src/gromacs/selection/CMakeLists.txt
src/gromacs/trajectoryanalysis/CMakeLists.txt
src/gromacs/utility/CMakeLists.txt
src/programs/CMakeLists.txt
src/programs/mdrun_main.cpp [new file with mode: 0644]