Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-05 04:29:05

Hi Chris,

> having a Jamfile similar to this:
> exe SwPipeMMX :
> Main.cpp
> : <toolset-msvc:version>intel
> ;
> local instdir = [ ssce.bininstdir ] ;
> stage dist : SwPipeMMX : <location>$(instdir) ;
> a lot of unwanted files are install in $(instdir).
> E.g. if I'm using msvc the *.ilk *.pdb *.exp and
> additional one *.lib is installed.
> Is there a way to install only the exe?

Not yet. I've being thinking that "stage" rule should have to extra niceties:

1. Ability to specify the list of types that should be installed.
2. Ability to traverse dependency graph of the specified targets (i.e. to pick
up library dependecies)

Neither is implemented, though the first one should not be very hard.
If you have the inclination, you might try to experiment with it: the
'construct' rule in stage.jam is the key: it's possible to iterate over
source-targets, calling 'type' method on each and checking if it's derived
from EXE. This logic can be then improved to allow user to specify the list
of types.

Of course, if you don't have the time/inclination, no problem. It will be
fixed one day.

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at