Re: dependencies in generated C++ files
Bram Moolenaar <[email protected]>
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
Adriaan de Groot wrote: > 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? No, there was no intention to do this. The code is obviously not prepared for this situation. The "build-" dir should be removed when making the file name to store the automatic dependencies in. I'll put it on my todo list, but I don't know when I'll get to it, I have a few other things to do (like trying to fix a broken printer :-( ). -- From "know your smileys": <>:-) Bishop /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf