Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [boost][test] how to define path to error
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-21 09:43:08


AMDG

Gennadiy Rozental wrote:
> Andrey Torba <andreytorba <at> gmail.com> writes:
>
>> My question is how to get full path to Function.cpp.
>> In example above it is d:/trash/libraries/test/Function.cpp. The bjam
>>
>
> Bot much I can do here. Boost.Test relies on the value of the macro __FILE__ (I
> do not strip it - you get what I have). I believe it depends on how you compile
> it. In some cases it produces full path. Maybe Boost.Build guys can pitch in.
>

The relevant compiler option is /FC which causes the
compiler to use full paths.

In Christ,
Steven Watanabe


Boost-testing list run by mbergal at meta-comm.com