[Xapian-tickets] [Xapian] #239: makedepend gets confused with multiple #include "filename..." in same program
Xapian
nobody at xapian.org
Tue Feb 16 14:32:48 GMT 2010
#239: makedepend gets confused with multiple #include "filename..." in same
program
-------------------------------+--------------------------------------------
Reporter: caa | Owner: caa
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: MSVC makefiles | Version: SVN trunk
Severity: major | Resolution:
Keywords: | Blockedby:
Platform: Microsoft Windows | Blocking:
-------------------------------+--------------------------------------------
Comment(by charliejuggler):
Turns out there is a 'generate dependencies' switch for modern MSVC,
'-showIncludes'. I've attached a patch to replace makedepend with
'xapdep', which parses the output of this and turns it into dependency
information we can use.
This is a rather big patch I'm afraid as it affects the whole build
system. Also I'm not sure the files in xapian-maintainer-
tools/win32msvc/xapdep have made it into the patch, as TortoiseSVN was
telling me something about subfolders, so I've included these files in a
second patch file (xapdep_sub).
I'm happy to backport this to trunk if we think it's worth it.
--
Ticket URL: <http://trac.xapian.org/ticket/239#comment:11>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list