Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Test : Project setting in Visual 2010
From: Christian Henning (chhenning_at_[hidden])
Date: 2013-04-05 17:39:54


> Same.
>
>
Here is what I do. Please stick to the script as closely as possible. I
assume you use Visual Studio 2010.

1. Create an empty console project. Turn off precompiled headers.
2. Include boost path to compiler settings
3. Create main.cpp and include the following code:

#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>

3. Create test1.cpp and insert following code:

#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_CASE( test_1 )
{
}

4. Add boost lib path to linker settings.
5. Compile.

Do you still have any problems?

Christian



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