summaryrefslogtreecommitdiffstats
path: root/qtinterface/tmoc.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-31 00:33:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-31 00:33:28 -0600
commit13abd0950400b43a2bb7064dadb2f30a94ee32fd (patch)
tree909753057086673d84058d7e4a6384b2c393025a /qtinterface/tmoc.cmake
parent8787bdc0f0519ea741a867bbb2ee93e2cd6a399d (diff)
downloadtqtinterface-13abd0950400b43a2bb7064dadb2f30a94ee32fd.tar.gz
tqtinterface-13abd0950400b43a2bb7064dadb2f30a94ee32fd.zip
Fix FTBFS
Diffstat (limited to 'qtinterface/tmoc.cmake')
-rwxr-xr-xqtinterface/tmoc.cmake21
1 files changed, 0 insertions, 21 deletions
diff --git a/qtinterface/tmoc.cmake b/qtinterface/tmoc.cmake
deleted file mode 100755
index 8c7cfcc..0000000
--- a/qtinterface/tmoc.cmake
+++ /dev/null
@@ -1,21 +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 <ntqmetaobject.h>/ i #undef QT_NO_COMPAT\n#include \"${input_file}\"" \
- > "${out_file}"
- fi
-else
- echo "ERROR: @BIN_INSTALL_DIR@/tqt-replace-stream is not available. tmoc will fail!"
- exit 1;
-fi