diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt index f148969..27434a9 100644 --- a/src/bin/CMakeLists.txt +++ b/src/bin/CMakeLists.txt @@ -37,3 +37,4 @@ target_link_libraries(clouseau_client ) install(TARGETS clouseau_client DESTINATION bin) +install(PROGRAMS clouseau DESTINATION bin) diff --git a/src/bin/clouseau b/src/bin/clouseau new file mode 100755 index 0000000..ea8c127 --- /dev/null +++ b/src/bin/clouseau @@ -0,0 +1,11 @@ +#!/bin/sh +if [ $# -lt 1 ] +then + echo "Usage: clouseau [executable parameters]" +else + # Start the local daemon. In case it is already running, it exits directly. + efl_debugd & + # Start the application + $@ & + clouseau_client -l -p $! +fi