More robust handling for installed headers
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 19 Sep 2014 19:45:34 +0000 (22:45 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 3 Oct 2014 15:28:26 +0000 (17:28 +0200)
- Remove unnecessary first parameter from gmx_install_headers():
  it is possible to deduce the installation destination from the
  current CMake directory.  This eliminates the possibility of typos in
  this parameter that would break the installed headers.
- Make the gmx_install_headers() function also generate a global list of
  installed headers, which is then used to generate a file with this
  list, instead of globbing this information from the
  cmake_install.cmake files.  This ensures that obsolete files in the
  build tree should not affect the outcome.

Change-Id: I4d27accaebc14438acc5d290b25258b561ca04ea


No differences found