Boost logo

Boost-Build :

Subject: Re: [Boost-build] Copy file to output directory
From: sichent (sichent_at_[hidden])
Date: 2011-04-08 15:28:39


Ian,

thanks I followed your recommendations and the file is being copied to
the output directory... so i am facing another question now:

how do you know inside your unit test from where to open the copied file?

i tried to pass the name of the file through additional arguments to the
[ run ... ] rule or just use hardcoded "file.txt" name but seems that
working directory of unit test is where Jamfile is located and NOT the
path where tests's binary is generated...

brr :)

Thanks!
sich


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