|
|
@@ -4,6 +4,8 @@ project(crown-tests)
|
|
|
|
|
|
link_directories(${CROWN_BINARY_DIR})
|
|
|
|
|
|
+enable_testing()
|
|
|
+
|
|
|
add_executable(allocators allocators.cpp)
|
|
|
add_executable(containers containers.cpp)
|
|
|
add_executable(messages messages.cpp)
|
|
|
@@ -12,7 +14,6 @@ add_executable(connections connections.cpp)
|
|
|
add_executable(strings strings.cpp)
|
|
|
add_executable(paths paths.cpp)
|
|
|
|
|
|
-
|
|
|
target_link_libraries(allocators crown)
|
|
|
target_link_libraries(containers crown)
|
|
|
target_link_libraries(messages crown)
|
|
|
@@ -20,3 +21,11 @@ target_link_libraries(compressors crown)
|
|
|
target_link_libraries(connections crown)
|
|
|
target_link_libraries(strings crown)
|
|
|
target_link_libraries(paths crown)
|
|
|
+
|
|
|
+add_test(allocators-test ${EXECUTABLE_OUTPUT_PATH}/allocators)
|
|
|
+add_test(containers-test containers)
|
|
|
+add_test(messages-test messages)
|
|
|
+add_test(compressors-test compressors)
|
|
|
+add_test(connections-test connections)
|
|
|
+add_test(strings-test strings)
|
|
|
+add_test(paths-test paths)
|