Reform Ewald-module cmake handling
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 23 May 2018 13:21:43 +0000 (15:21 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 24 May 2018 13:38:31 +0000 (15:38 +0200)
commitef859eb196b262cf37a9b148f6f7b6bb53165712
treebd47099a6fbbd84cbe857af05d0f694159f0969a
parentb7b984bd1c17e9377c86d8fd6e751e9b0ddbc714
Reform Ewald-module cmake handling

The globbing approach is convenient when all the files get the same
treatment, but sometimes inconvenient when you forget to run cmake
when adding or deleting files. Subtracting one glob from another makes
it rather hard to know what is going on, particularly with multiple
changes in flight.

Specifying the files makes it easier to see what is going on when
there are multiple different configurations that need different files,
as we are shortly likely to have as OpenCL support for PME is
integrated. This is similar to the approach now used in gpu_utils.

Change-Id: I11a62cab6fb87ed895615486a7071d420a62ea6e
src/gromacs/ewald/CMakeLists.txt