Remove duplication in version info target creation
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 20 Sep 2014 04:14:02 +0000 (07:14 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 20 Sep 2014 17:34:17 +0000 (19:34 +0200)
commit45d7c9d834aa5eb94cc42977f3126e3c17599edc
treeff157a24fe3a2cc84bb61158ea168aa4d1c21b0b
parent9c3a1e66d6f1daaf0fe87e6c6ae28eab3b7b12b9
Remove duplication in version info target creation

Now the custom target created for the git version info generation uses
gmx_add_custom_output_target(), removing comments etc. that were
duplicated in both places and clarifying the code.  The custom target
created with gmx_configure_version_file() now also integrates with the
dependency resolution mechanism used by gmx_add_custom_output_target().

Change-Id: I868264498c014041f551df8819fb2b568d85bc30
cmake/gmxCustomCommandUtilities.cmake
cmake/gmxVersionInfo.cmake