SET(TESTS 
  Memory
  Lib
#  RemoteProcess
  )

FOREACH(TEST ${TESTS})
  SET(EXE_NAME KWCommonTest${TEST})
  ADD_EXECUTABLE(${EXE_NAME} Test${TEST}.cxx)
  TARGET_LINK_LIBRARIES(${EXE_NAME} ${KWCommon_LIBRARIES})
  ADD_TEST(KWCommon-${TEST} ${EXECUTABLE_OUTPUT_PATH}/${EXE_NAME})
ENDFOREACH(TEST)
