diff options
Diffstat (limited to 'qtinterface/interface_tqt3/tmoc.cmake')
-rwxr-xr-x | qtinterface/interface_tqt3/tmoc.cmake | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/qtinterface/interface_tqt3/tmoc.cmake b/qtinterface/interface_tqt3/tmoc.cmake deleted file mode 100755 index 55f23fa..0000000 --- a/qtinterface/interface_tqt3/tmoc.cmake +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# -# Very simple moc wrapper, for using with cmake -# - -if [ -z "$1" ]; then - echo "Usage: tmoc <input_file> -o <out_file>" -else - input_file="$1" - out_file="$3" - cat "${input_file}" | \ - @MOC_EXECUTABLE@ | \ - sed "/#include <tqmetaobject.h>/ i\\ -#undef TQT_NO_COMPAT\\ -#include \"${input_file}\"\\ -" \ - > "${out_file}" -fi |