summaryrefslogtreecommitdiffstats
path: root/qtinterface/interface_qt3/tmoc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/interface_qt3/tmoc.cmake')
-rwxr-xr-xqtinterface/interface_qt3/tmoc.cmake24
1 files changed, 0 insertions, 24 deletions
diff --git a/qtinterface/interface_qt3/tmoc.cmake b/qtinterface/interface_qt3/tmoc.cmake
deleted file mode 100755
index 5321484..0000000
--- a/qtinterface/interface_qt3/tmoc.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-#
-# Very simple moc wrapper, for using with cmake
-#
-
-if [ -f @BIN_INSTALL_DIR@/tqt-replace-stream ]; then
- if [ -z "$1" ]; then
- echo "Usage: tmoc <input_file> -o <out_file>"
- else
- input_file="$1"
- out_file="$3"
- @BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \
- @MOC_EXECUTABLE@ | \
- sed "/#include <qmetaobject.h>/ i\\
-#undef QT_NO_COMPAT\\
-#include \"${input_file}\"\\
-" \
- > "${out_file}"
- fi
-else
- echo "ERROR: @BIN_INSTALL_DIR@/tqt-replace-stream is not available. tmoc will fail!"
- exit 1;
-fi