Missing library from test link list.
[dcpomatic.git] / run / dcpomatic_playlist
1 #!/bin/bash
2
3 export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH
4 export DYLD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:/Users/c.hetherington/osx-environment/64/lib
5 if [ "$1" == "--debug" ]; then
6     shift
7     gdb --args build/src/tools/dcpomatic2_playlist $*
8 elif [ "$1" == "--valgrind" ]; then
9     shift
10     valgrind --tool="memcheck" --suppressions=suppressions --track-fds=yes build/src/tools/dcpomatic2_playlist $*
11 elif [ "$1" == "--callgrind" ]; then
12     shift
13     valgrind --tool="callgrind" build/src/tools/dcpomatic2_playlist $*
14 elif [ "$1" == "--massif" ]; then
15     shift
16     valgrind --tool="massif" build/src/tools/dcpomatic2_playlist $*
17 elif [ "$1" == "--i18n" ]; then
18     shift
19     LANGUAGE=fr_FR.UTF8 LANG=fr_FR.UTF8 LC_ALL=fr_FR.UTF8 build/src/tools/dcpomatic2_playlist "$*"
20 elif [ "$1" == "--perf" ]; then
21     shift
22     perf record build/src/tools/dcpomatic2_playlist $*
23 else
24     build/src/tools/dcpomatic2_playlist $*
25 fi