Boost logo

Boost :

Subject: Re: [boost] [test] [build] best practices for looking up data files from test executables
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-11-14 12:56:25


Thanks everyone for the replies.

What I ended up doing (for now) is simply computing the (absolute) path
to the test source file, using

fs::path here = fs::absolute(fs::path(__FILE__)).parent_path();

and compute the data path from that.

Thanks,

Stefan

-- 
      ...ich hab' noch einen Koffer in Berlin...
    

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk