diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-30 00:52:01 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-30 00:52:01 +0000 |
| commit | 7d66aefc8a38140f5ea5620432c24ed9b370b481 (patch) | |
| tree | 4e09cc780a86411af5d2c2697458a2cbd76f2d5c /run | |
| parent | ea366080377aae73e7b6720729d3fd1c523e4c48 (diff) | |
Add nascent dcpomatic_create.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/dcpomatic_create | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/run/dcpomatic_create b/run/dcpomatic_create new file mode 100755 index 000000000..bf3c3c493 --- /dev/null +++ b/run/dcpomatic_create @@ -0,0 +1,18 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH +if [ "$1" == "--debug" ]; then + shift + gdb --args build/src/tools/dcpomatic_create $* +elif [ "$1" == "--valgrind" ]; then + shift + valgrind --tool="memcheck" build/src/tools/dcpomatic_create $* +elif [ "$1" == "--callgrind" ]; then + shift + valgrind --tool="callgrind" build/src/tools/dcpomatic_create $* +elif [ "$1" == "--perf" ]; then + shift + perf record build/src/tools/dcpomatic_create $* +else + build/src/tools/dcpomatic_create $* +fi |
