fix CMake TEST_OBJECT_PATH, ENABLE_TEST_COVERAGE test-target and cleanup of .gcda's
#
# CMake script to clean out all *.gcda files from TEST_OBJECT_DIR
#
# get list
file (GLOB_RECURSE GCDA_FILES "${TEST_OBJECT_DIR}/*.gcda")
if (GCDA_FILES)
message (STATUS "removing .gcda: ${GCDA_FILES}")
# hehehe... dangerous?
file (REMOVE ${GCDA_FILES})
endif (GCDA_FILES)