summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-04-11 08:57:40 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-04-11 08:57:40 +0200
commitf1cfb0a3b9d6a03cf52442fa4a083fdb71dcea43 (patch)
treedeb4168fd65ca22873256d058b24f7f242ae4afa /bin
parent06d5b3438f682307db06074ce9709b949a9aa846 (diff)
downloaduca-f1cfb0a3b9d6a03cf52442fa4a083fdb71dcea43.tar.gz
uca-f1cfb0a3b9d6a03cf52442fa4a083fdb71dcea43.tar.bz2
uca-f1cfb0a3b9d6a03cf52442fa4a083fdb71dcea43.tar.xz
uca-f1cfb0a3b9d6a03cf52442fa4a083fdb71dcea43.zip
Install all binaries with common uca- prefix
Diffstat (limited to 'bin')
-rw-r--r--bin/gui/CMakeLists.txt6
-rw-r--r--bin/tools/CMakeLists.txt14
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)