Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-07-16 12:38:07


   Hi Phillip.

> I'm pretty sure I can do it with an "install" rule (probably the same
> one that installs the executable), but I'd like to have it copied to
> wherever the executable gets linked or copied, so I don't have to do it
> manually.

   I belive the standard solution is to install both the executable and
the dll to the same location.

   I do not know of a 'clean way' to move the dll to the same folder
Boost Build builds the executable in.

  I remember thinking about this before for one of our projects but in
the end we decided that installing the whole application to a specified
target folder is the cleanest possible solution. Note that when you do
something like this you need to either use tags to get different dll
names for different build variants or you can not build multiple build
variants in a single build request. This fits fine with the concept of
'installing' the built application.

   This 'installing' step then always scaled naturally as our projects
expanded in size & scope.

   Hope this helps.

   Best regards,
     Jurko Gospodnetić


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