summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2015-04-10 19:02:25 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2015-04-14 15:40:36 +0200
commitb0ffd9f0a5278f2ef81a267af3c8f72ab8d0f7c2 (patch)
treeef4ae05af135a850ec89b303a558af29e65c8284 /test/CMakeLists.txt
parentde68b48a1ff110e965f2c02fc930201ece9980d2 (diff)
downloadkiro-b0ffd9f0a5278f2ef81a267af3c8f72ab8d0f7c2.tar.gz
kiro-b0ffd9f0a5278f2ef81a267af3c8f72ab8d0f7c2.tar.bz2
kiro-b0ffd9f0a5278f2ef81a267af3c8f72ab8d0f7c2.tar.xz
kiro-b0ffd9f0a5278f2ef81a267af3c8f72ab8d0f7c2.zip
Heavily changed cmake build scripts
Added gi-introspection module to build chain
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt15
1 files changed, 9 insertions, 6 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 4ae047b..161bc9f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -6,20 +6,23 @@ pkg_check_modules(SDL sdl>=1.2.15)
if (SDL_FOUND)
add_executable(kiro-client-sdl test-client.c)
- target_link_libraries(kiro-client-sdl kiro SDL m gobject-2.0 glib-2.0)
+ target_link_libraries(kiro-client-sdl kiro SDL m ${KIRO_DEPS})
install(TARGETS kiro-client-sdl RUNTIME DESTINATION ${KIRO_BINDIR})
else ()
message("SDL not found: Won't build kiro-client-sdl binary.")
endif ()
+add_executable(kiro-server test-server.c)
+target_link_libraries(kiro-server kiro m ${KIRO_DEPS})
+
add_executable(kiro-test-latency test-client-latency.c)
-target_link_libraries(kiro-test-latency kiro gobject-2.0 glib-2.0)
+target_link_libraries(kiro-test-latency kiro ${KIRO_DEPS})
+
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)
+target_link_libraries(kiro-test-bandwidth kiro ${KIRO_DEPS})
+
add_executable(kiro-test-partial test-partial.c)
-target_link_libraries(kiro-test-partial kiro gobject-2.0 glib-2.0)
+target_link_libraries(kiro-test-partial kiro ${KIRO_DEPS})
install(TARGETS kiro-test-bandwidth kiro-test-latency kiro-server
RUNTIME DESTINATION ${KIRO_BINDIR})