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


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 :)


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