Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Test : Project setting in Visual 2010
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-04-05 19:06:02


AMDG

On 04/04/2013 01:55 AM, Oodini wrote:
> I am trying to setup in Visual C++ 2010 some projects to use Boost.Test.
>
> I have a project with some classes I want to test. This project builds a static library. I put in this project a test file ; here is its content :
>
> <snip>
>
> I created an other project (a console program). Its content is :
>
> <snip>
>
> When I execute this program, I get the message "test tree is empty".
>

Don't put your test cases in a static library. The
linker will strip them.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net