Re: [bakefile-devel] Subprojetc question.

"Hans Van Leemputten" <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <14c101c3f158$093944b0$0601a8c0__48389.188925694$1077448182@starwars>
> > > > No I understand (well I think I do) what subproject is for and
> > > > what the bakefile exe,lib,dll rule is for. The first version of
> > > > my bakefile did it the way you suggest above, but there are
> > > > some problems doing it this way:=3D20
> > > > - The guidelib and demo dsp file will
> > > > both be in the demo directory.=3D20
> > >
> > > On the contrary, if you use a subproject, there will be two
> > > makefiles.=3D20 That's the very point of subprojects.
> >
> > Huh? I guess you misunderstood me... as the bakefile(s) referred to
> > here and other snipped points was using the <lib> <exe> rule (in
> > one bakefile or with a include statement) and it did *not* use
> > <subproject> feature...
>
> No wonder I misunderstood you, see the subject of this thread and what=20
> you wrote in your first mail:
> > 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=20
> >    <subproject id=3D"guidelib">
> >        <dir>../../</dir>
> >        <dependency-of>all</dependency-of>
> >    </subproject>

I'm sorry that my mails aren't that clear... :-s

> I must admit I'm lost.

Belief me I'm too now... :-/

> > Now how would you write bakefiles for this extended-sample?
>
> Either single makefile with everything, or main makefile with=20
> submakefiles in subdirectories called through <subproject>.

One make file is out of the question as it prevents one to release Lib1
independent from Lib2.
So I guess I need to spend some more time on a <subproject> solution.

Regards,
Hans.





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
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.