Hello,
* dherr...@ll.mit.edu wrote on Tue, Mar 31, 2009 at 06:00:37PM CEST:
> I'm using Qt 4's moc to generate source files in an autotools project.
>
> The pattern looks something like
>
> cat <<_EOF > Makefile.am
> # Makefile fragment
> bin_PROGRAMS=test
> test_SOURCES=a.cpp b.cpp
> test_META=a.
Never mind. Sometimes it is bad to work late at night. I had convinced
myself the following did not work.
For the record, here's the fixed makefile
On Tue, 31 Mar 2009, dherr...@ll.mit.edu wrote:
I'm using Qt 4's moc to generate source files in an autotools project.
The pattern looks somet
Hi all,
I'm using Qt 4's moc to generate source files in an autotools project.
The pattern looks something like
cat <<_EOF > Makefile.am
# Makefile fragment
bin_PROGRAMS=test
test_SOURCES=a.cpp b.cpp
test_META=a.hpp b.hpp
test_SOURCES+=$(test_META)
test_LDADD = $(test_META:%.hpp=%_moc.$(OBJEXT)