diff options
Diffstat (limited to 'run/tools')
| -rwxr-xr-x | run/tools/dcpkdm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/run/tools/dcpkdm b/run/tools/dcpkdm new file mode 100755 index 00000000..0a08605b --- /dev/null +++ b/run/tools/dcpkdm @@ -0,0 +1,12 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=build/src:build/asdcplib/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH +if [ "$1" == "--debug" ]; then + shift + gdb --args build/tools/dcpkdm "$@" +elif [ "$1" == "--valgrind" ]; then + shift + valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/tools/dcpkdm "$@" +else + build/tools/dcpkdm "$@" +fi |
