Eyescale/CMake — pull request #162 by halfflat (2014-06-25 12:42:07+00:00)
Title: Allow CommonCPPCTest in multiple directories

Now that the tests are being created subject to some more customization with variables, it is useful to delegate test creation in subdirectories to their own CMakeLists.txt files, with their own specific settings.

This patch adds the test executables as dependencies of run_cpp_tests if it already exists, allowing CommonCPPCTest to be included in multiple CMakeLists.txt files.