Explorar o código

cmake added cppunit test integration into add_test (make test)

Johannes R %!s(int64=12) %!d(string=hai) anos
pai
achega
2114ee967f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      core/CMakeLists.txt

+ 2 - 0
core/CMakeLists.txt

@@ -39,6 +39,8 @@ if(BUILD_CORE_TESTS)
                    POST_BUILD
                    COMMAND "$<TARGET_FILE:${__testname}>"
                    COMMENT "Unit Tests...")
+	else()
+		ADD_TEST(${__testname} UnitTester ${__testname})
 	endif()
   endforeach()
 endif()