Add gmxapi_extension tests to 'tests' target.
commite2356b793ac3a8604c091c453f263c7741ae4a7f
authorM. Eric Irrgang <ericirrgang@gmail.com>
Wed, 6 Nov 2019 15:07:56 +0000 (6 18:07 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 27 Nov 2019 10:00:05 +0000 (27 11:00 +0100)
treec1b1407fa2d2bbf5b151c6e69c1dd6cd6bfd2ae5
parent7073b54d9fbf8ddfe007309233a9b83943dee67c
Add gmxapi_extension tests to 'tests' target.

Improve GMX_PYTHON_PACKAGE convenience targets. When GMX_PYTHON_PACKAGE
is ON, the subprojects in the python_packaging subdirectory are built.
When testing is enabled, the sample_restraint C++ unit tests were
transitively included in the 'check' target, but no mechanism was in
place to ensure they were built before the CTests and google tests
were run. This change adds the test binaries as dependencies of the
'tests' target so that the test binaries are built through normal
machinery when GROMACS is built with testing enabled and
GMX_PYTHON_PACKAGE=ON.

Change-Id: I751655dc6b6d4d58b5bbb9f5f522e26382b4f0a2
python_packaging/sample_restraint/tests/CMakeGROMACS.txt