Skip to content
Snippets Groups Projects
Commit 753219ef authored by Simon Ottenhaus's avatar Simon Ottenhaus
Browse files

Fixed CMakeLists.txt again

parent 65b1a7c2
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,6 @@ find_package("ArmarXCore" REQUIRED
PATHS "$ENV{HOME}/armarx/Core/build"
)
include(${ArmarXCore_CMAKE_DIR}/ArmarXProject.cmake)
include(${ArmarXCore_USE_FILE})
armarx_project("RobotAPI")
......
export SCRIPT_PATH=/localhome/vmmaster/armarx/Core/build/bin
# Components
$SCRIPT_PATH/startApplication.sh /localhome/vmmaster/armarx/RobotAPI/build/bin/WeissHapticSensorsUnitAppRun --Ice.Config=config/WeissHapticSensorsUnitApp.cfg &
$SCRIPT_PATH/startApplication.sh /localhome/vmmaster/armarx/RobotAPI/build/bin/WeissHapticSensorAppRun --Ice.Config=config/WeissHapticSensorApp.cfg &
if test -z "$1"
then
KILL_SIGNAL=2
else
KILL_SIGNAL=$1
fi
skill ()
{
EXECUTABLE_STR=`ps aux | grep "$1 \-\-Ice.Default" | grep -v grep | awk '{print $2}'`
if [ ${#EXECUTABLE_STR} == 0 ]
then
echo skipping $1
else
echo killing $1
kill -s $2 ${EXECUTABLE_STR}
fi
}
echo SENDING ${KILL_SIGNAL} TO ALL PROCESSES
skill WeissHapticSensorsUnitAppRun ${KILL_SIGNAL}
skill WeissHapticSensorAppRun ${KILL_SIGNAL}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment