From f1cfb0a3b9d6a03cf52442fa4a083fdb71dcea43 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 11 Apr 2013 08:57:40 +0200 Subject: Install all binaries with common uca- prefix --- bin/gui/CMakeLists.txt | 6 +++--- bin/tools/CMakeLists.txt | 14 ++++++-------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/bin/gui/CMakeLists.txt b/bin/gui/CMakeLists.txt index f64bd02..b00054a 100644 --- a/bin/gui/CMakeLists.txt +++ b/bin/gui/CMakeLists.txt @@ -20,20 +20,20 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) if (GTK2_FOUND) include_directories(${GTK2_INCLUDE_DIRS}) - add_executable(control + add_executable(uca-control control.c egg-property-cell-renderer.c egg-property-tree-view.c egg-histogram-view.c) - target_link_libraries(control + target_link_libraries(uca-control m uca ringbuffer ${GTK2_LIBRARIES} ${GTHREAD2_LIBRARIES}) - install(TARGETS control + install(TARGETS uca-control RUNTIME DESTINATION bin) install(FILES control.glade diff --git a/bin/tools/CMakeLists.txt b/bin/tools/CMakeLists.txt index a52bb97..cea2912 100644 --- a/bin/tools/CMakeLists.txt +++ b/bin/tools/CMakeLists.txt @@ -23,18 +23,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) # --- gen-doc -add_executable(gen-doc gen-doc.c) -target_link_libraries(gen-doc ${libs}) +add_executable(uca-gen-doc gen-doc.c) +target_link_libraries(uca-gen-doc ${libs}) # --- uca-grab add_executable(uca-grab grab.c) -target_link_libraries(uca-grab - ringbuffer - ${libs}) +target_link_libraries(uca-grab ringbuffer ${libs}) # --- uca-benchmark -add_executable(benchmark benchmark.c) -target_link_libraries(benchmark ${libs}) +add_executable(uca-benchmark benchmark.c) +target_link_libraries(uca-benchmark ${libs}) -install(TARGETS uca-grab +install(TARGETS uca-benchmark uca-grab uca-gen-doc RUNTIME DESTINATION bin) -- cgit v1.2.3