test/CleanProfileData.cmake
author Tero Marttila <terom@fixme.fi>
Thu, 21 May 2009 17:08:47 +0300
changeset 214 0d5d46ab49d5
parent 187 5d100c79521a
permissions -rw-r--r--
merge lua_thread_setup bcak into _lua_thread_start, as everything can be done on the main lua state
# 
# 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)