1 2 3 4 5 6
ENABLE_TESTING() SET(NOTIFICATION_UNIT_TESTS notification-ex_unittests) ADD_TEST(NAME ${NOTIFICATION_UNIT_TESTS} COMMAND ${NOTIFICATION_UNIT_TESTS}) ADD_SUBDIRECTORY(unittest) ADD_DEPENDENCIES(notification-ex_unittests notification-ex)