Boost logo

Boost-Build :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2007-04-22 21:43:15


Yes they do. Your example will generate the .a suffix
for static libs only for the gcc-toolset.
Greets,
Andrej

--- Dave Rahardja <drahardja_at_[hidden]> wrote:

> Do those statements take precedence over the
> tool-specific versions in each
> tool's jamfile? e.g.
>
> type.set-generated-target-suffix STATIC_LIB :
> <toolset>gcc : a ;
>
> -dr
>
> > -----Original Message-----
> > From: boost-build-bounces_at_[hidden]
> > [mailto:boost-build-bounces_at_[hidden]] On
> Behalf Of
> > Andrej van der Zee
> > Sent: Sunday, April 22, 2007 9:41 AM
> > To: Boost.Build developer's and user's list
> > Subject: Re: [Boost-build] target names
> >
> > In the meanwhile I found the following ways to
> > override the default naming conventions:
> >
> > import type ;
> > type.set-generated-target-prefix SHARED_LIB : : ""
> ;
> > type.set-generated-target-suffix EXE : : exe ;
> >
> > Greets,
> > Andrej
> >
> >
> > --- Dave Rahardja <drahardja_at_[hidden]> wrote:
> >
> > > > -----Original Message-----
> > > > From: boost-build-bounces_at_[hidden]
> > > > [mailto:boost-build-bounces_at_[hidden]]
> On
> > > Behalf Of
> > > > Andrej van der Zee
> > > > Sent: Sunday, April 22, 2007 2:25 AM
> > > > To: boost-build_at_[hidden]
> > > > Subject: [Boost-build] target names
> > > >
> > > > Hi,
> > > >
> > > > I am new to bjam and now I am struggling with
> the
> > > > names of targets. I want to build an
> exe-target
> > > with a
> > > > dot in its name ("name.ext"). For example, if
> I do
> > > the
> > > > following:
> > > >
> > > > exe name.ext
> > > > : [ glob *.cpp ]
> > > > ;
> > > >
> > > > It creates an executable called "name" instead
> of
> > > > "name.ext".
> > > >
> > > > Also, I want to build an Apache module (a
> shared
> > > > library) that is called "mod_name.so". When I
> use
> > > > something like this:
> > > >
> > > > lib mod_name
> > > > : [ glob *.cpp ]
> > > > ;
> > > >
> > > > It prepends "lib" to the name.
> > > >
> > > > Is there anyway to have more control over the
> > > target
> > > > names? How can I fix this?
> > > >
> > > > Thanks,
> > > >
> > > > Andrej
> > >
> > > You can't. The target naming conventions are
> > > controlled by the tool
> > > definitions. You need to modify those
> definitions to
> > > get what you need.
> > >
> > > -dr
> > >
> > > _______________________________________________
> > > Unsubscribe & other changes:
> > >
> >
>
http://lists.boost.org/mailman/listinfo.cgi/boost-build
> > >
> >
> >
> >
> >
>
___________________________________________________________
>
> > Yahoo! Mail is the world's favourite email. Don't
> settle for
> > less, sign up for
> > your free account today
> >
>
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mai
> l/winter07.html
> > _______________________________________________
> > Unsubscribe & other changes:
> >
>
http://lists.boost.org/mailman/listinfo.cgi/boost-build
> >
>
> _______________________________________________
> Unsubscribe & other changes:
>
http://lists.boost.org/mailman/listinfo.cgi/boost-build
>

      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk