|
|
@@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
|
project(crown-tests)
|
|
|
|
|
|
-enable_testing()
|
|
|
-
|
|
|
add_executable(allocators allocators.cpp)
|
|
|
add_executable(containers containers.cpp)
|
|
|
add_executable(compressors compressors.cpp)
|
|
|
@@ -22,11 +20,12 @@ target_link_libraries(dynamic-strings crown)
|
|
|
target_link_libraries(json crown)
|
|
|
target_link_libraries(events crown)
|
|
|
|
|
|
-add_test(allocators-test ${EXECUTABLE_OUTPUT_PATH}/allocators)
|
|
|
-add_test(containers-test ${EXECUTABLE_OUTPUT_PATH}/containers)
|
|
|
-add_test(compressors-test ${EXECUTABLE_OUTPUT_PATH}/compressors)
|
|
|
-add_test(strings-test ${EXECUTABLE_OUTPUT_PATH}/strings)
|
|
|
-add_test(paths-test ${EXECUTABLE_OUTPUT_PATH}/paths)
|
|
|
-add_test(dynamic-string-test ${EXECUTABLE_OUTPUT_PATH}/dynamic-strings)
|
|
|
-add_test(json-test ${EXECUTABLE_OUTPUT_PATH}/json)
|
|
|
-add_test(events-test ${EXECUTABLE_OUTPUT_PATH}/events)
|
|
|
+install (TARGETS allocators DESTINATION test)
|
|
|
+install (TARGETS containers DESTINATION test)
|
|
|
+install (TARGETS compressors DESTINATION test)
|
|
|
+install (TARGETS strings DESTINATION test)
|
|
|
+install (TARGETS paths DESTINATION test)
|
|
|
+install (TARGETS dynamic-strings DESTINATION test)
|
|
|
+install (TARGETS json DESTINATION test)
|
|
|
+install (TARGETS events DESTINATION test)
|
|
|
+
|