dependencies in generated C++ files

Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
I have C files that are generated from other stuff (specifically, qt .ui 
files, see the qt module), and when AAP checks the dependencies for the 
generated files, the following happens:

Aap: echo "#include <"setup_base.moc">" >> build-FreeBSD4_9_RC/setup_base.cc
Aap:  g++   -I/usr/local/kde-3.2/include -I/usr/local/qt-3.2/include -I/usr/
local/include -I.    -MM build-FreeBSD4_9_RC/setup_base.cc > 
build-FreeBSD4_9_RC/build-FreeBSD4_9_RC/setup_base.cc.aap
build-FreeBSD4_9_RC/setup_base.cc:102: warning: No include path in which to 
find setup_base.moc

so you can see that the C++ file is written, then the dependency command is 
used, but it writes the dependencies _two_ BDIRs deep. Is that intentional? 
Sensible?

-- 
pub  1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <[email protected]>
            If the door is ajar, can we fill it with door-jamb?


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.