|
@@ -14,11 +14,7 @@ set(KITTests_MOC_SRCS
|
|
|
|
|
|
QT4_WRAP_CPP(KITTests_MOC_CPP ${KITTests_MOC_SRCS})
|
|
|
|
|
|
-add_executable(${KIT}Tests ${Tests} ${KITTests_SRCS} ${KITTests_MOC_SRCS} ${KITTests_MOC_CPP})
|
|
|
-target_link_libraries(${KIT}Tests ${LIBRARY_NAME} ${CTK_BASE_LIBRARIES})
|
|
|
-
|
|
|
-macro(SIMPLE_TEST TESTNAME)
|
|
|
- add_test(NAME ${TESTNAME} COMMAND ${KIT}Tests ${TESTNAME})
|
|
|
-endmacro()
|
|
|
+add_executable(${KIT}CppTests ${Tests} ${KITTests_SRCS} ${KITTests_MOC_SRCS} ${KITTests_MOC_CPP})
|
|
|
+target_link_libraries(${KIT}CppTests ${LIBRARY_NAME} ${CTK_BASE_LIBRARIES})
|
|
|
|
|
|
SIMPLE_TEST(ctkXnatSessionTest)
|