Boost logo

Boost-Build :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2007-04-22 10:40:33


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/mail/winter07.html


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