diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-03 18:04:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-03 18:04:31 +0100 |
| commit | 568e553f506809e753c78a0e0cbad5906bc002b1 (patch) | |
| tree | 4cd234309105ce1f9fc571148d984100738826e7 /run | |
| parent | c869563a1414c869ac15f8d590217a45c7739996 (diff) | |
KDM / libdcp API changes.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/dcpomatic_kdm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/run/dcpomatic_kdm b/run/dcpomatic_kdm new file mode 100755 index 000000000..faad61018 --- /dev/null +++ b/run/dcpomatic_kdm @@ -0,0 +1,12 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH:build/src +if [ "$1" == "--debug" ]; then + shift + gdb --args build/src/tools/dcpomatic_kdm "$@" +elif [ "$1" == "--valgrind" ]; then + shift + valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/src/tools/dcpomatic_kdm "$@" +else + build/src/tools/dcpomatic_kdm "$@" +fi |
