Add basic example; tweak bits and pieces.
[libdcp.git] / run / tools / dcpdiff
1 #!/bin/bash
2
3 export LD_LIBRARY_PATH=build/src
4 if [ "$1" == "--debug" ]; then
5     shift
6     gdb --args build/tools/dcpdiff "$@"
7 elif [ "$1" == "--valgrind" ]; then
8     shift
9     valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/tools/dcpdiff "$@"
10 else
11     build/tools/dcpdiff "$@"
12 fi