summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a37c16c..a3f7777 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -5,15 +5,19 @@ find_package(PkgConfig)
pkg_check_modules(SDL sdl>=1.2.15)
if (SDL_FOUND)
- add_executable(client-sdl test-client.c)
- target_link_libraries(client-sdl kiro SDL m gobject-2.0 glib-2.0)
+ add_executable(kiro-client-sdl test-client.c)
+ target_link_libraries(kiro-client-sdl kiro SDL m gobject-2.0 glib-2.0)
+ install(TARGETS kiro-client-sdl RUNTIME DESTINATION bin)
else ()
message("SDL not found: Won't build KIRO test-client-sdl binary.")
endif ()
add_executable(kiro-test-latency test-client-latency.c)
target_link_libraries(kiro-test-latency kiro gobject-2.0 glib-2.0)
-add_executable(kiro-test-bandwith test-client-bandwith.c)
-target_link_libraries(kiro-test-bandwith kiro gobject-2.0 glib-2.0)
-add_executable(server test-server.c)
-target_link_libraries(server kiro gobject-2.0 glib-2.0)
+add_executable(kiro-test-bandwidth test-client-bandwidth.c)
+target_link_libraries(kiro-test-bandwidth kiro gobject-2.0 glib-2.0)
+add_executable(kiro-server test-server.c)
+target_link_libraries(kiro-server kiro gobject-2.0 glib-2.0)
+
+install(TARGETS kiro-test-bandwidth kiro-test-latency kiro-server
+ RUNTIME DESTINATION bin)