Define build tests with loops in CMakeLists.txt
Define build tests with loops in CMakeLists.txt

Instead of defining each Hdef test separately, use lists to define
the unit tests and executable tests and loop through the cmake
commands.

mherman09/Hdef,mherman09/Hdef,mherman09/Hdef