trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2010

Re: [trinity-devel] moc -> tmoc

From: Serghei Amelian <serghei@...>
Date: Sat, 11 Sep 2010 14:06:15 +0300
On Saturday 11 September 2010 02:04:53 Timothy Pearson wrote:
[...]

> > For moment  I using a very simple script, like this:
> >
> > if [ -z "$1" ]; then
> >         echo "Usage: tmoc <input_file> [args]"
> > else
> >         input_file="$1"
> >         shift
> >         @TQT_REPLACE_STREAM@ "${input_file}" | @QT_MOC_EXECUTABLE@ $@
> > fi
> >
>
> If it works then use it! 

Works in most cases, but unfortunately broke the compilation of kdebase/kdeui. 
Right now i'm back to moc-tqt, I will investigate this issue later.

> You can add any needed wrapper scripts, like 
> this one, in parallel with the original Automake-based scripts.  Just tack
> on a _cmake suffix or similar to differentiate them from the existing
> files.

Yes, I did.

>
> Thanks!
>
> Tim

-- 
Serghei