Missing library from test link list.
[dcpomatic.git] / run / dcpomatic_kdm_cli
1 #!/bin/bash
2
3 cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
4
5 export LD_LIBRARY_PATH=build/src/lib:/home/c.hetherington/lib:$LD_LIBRARY_PATH:build/src
6 if [ "$1" == "--debug" ]; then
7     shift
8     gdb --args build/src/tools/dcpomatic2_kdm_cli "$@"
9 elif [ "$1" == "--valgrind" ]; then
10     shift
11     valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/src/tools/dcpomatic2_kdm_cli "$@"
12 else
13     build/src/tools/dcpomatic2_kdm_cli "$@"
14 fi