Boost logo

Boost-Build :

Subject: [Boost-build] copy rule
From: Paul McMahon (spam_at_[hidden])
Date: 2008-09-25 07:08:08


Is it possible to copy files as part of a build of an exe?

e.g in my source directory I have some images, and an exe built from
main.cpp.

I want bjam to build main.cpp, but main.cpp uses the image files.

How do I copy the image files to the build 'bin' directory as part of
the build?

I don't want to use the install rule because the images are for test
purposes only and are not part of a real install.

Is there some way of using common.copy?


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