1 Feb 2004 17:25
Re: [bakefile-devel] Subprojetc question.
> > [I hope this is the correct way for talking about bakefile related > > things] > > Yes, absolutely. Before mailing here I already reported a bakefile bug on the wxWindows SF page, should I duplicate it on the bakefile SF page as it is not specific to wxWin? http://sourceforge.net/tracker/?func=detail&atid=109863&aid=876864&group_id=986 3 > > The issue; guidelib.bkl has a rule to make the lib and demo.bkl has > > a rule to make the demo.exe, but because demo.bkl depends on the > > guidelib it using <subproject id=3D"guidelib"> > > <dir>../../≤/dir> > > <dependency-of>all</dependency-of> > > </subproject> > > This way the lib gets build if needed (just the same as the wxWin > > samples). But for some reason this doesn't work to well: > > I think there's a misunderstanding of what <subproject> is. It's a way=20 > to build another set of targets that don't depend on targets in the=20 > "parent" makefile (and a makefile of its own is created for=20 > subproject). If you have an executable target that depends on a=20 > library, then you should do something like this instead: > > <lib id=3D"guidelib"> > =2E... > </lib> >(Continue reading)
RSS Feed