Minor CMake cleanup & modernization
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 20 Nov 2016 08:02:25 +0000 (10:02 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 10 Dec 2016 15:11:36 +0000 (16:11 +0100)
commitdd116125aa7f6ae7a37b876b320fc963c9e033bc
treeddd08a280c072c52c234d4f98ddb2ca719795a7d
parentcaa67a2b02f2590e5f2720609a6b9fd4595a4dbf
Minor CMake cleanup & modernization

- Our minimum CMake version now supports BYPRODUCTS for
  add_custom_target(), which allows simplification of
  gmxCustomCommandUtilities.cmake.
- Specify USES_TERMINAL for targets that provide status output for nicer
  usability with Ninja.
- Rely on add_custom_command() automatically marking its outputs as
  generated.
- Update the minimum required version for building the template to match
  the main project.
- Do not unnecessarily put regressiontests MD5 to the cache.
- Fix the branch used for regression tests download for git builds.

Change-Id: Iee9a7e67d694724ad79cce9801bea670ef2f94c8
cmake/gmxCustomCommandUtilities.cmake
cmake/gmxVersionInfo.cmake
docs/doxygen/CMakeLists.txt
share/template/CMakeLists.txt.template
src/gromacs/CMakeLists.txt
tests/CheckTarget.cmake