Boost.Test and CMake

view full story

http://www.unix.com – Hi, I just started using CMake and the Boost Libraries. In this progress I encountered some problems. One of these problems is combining Boost unit tests with cmake. I don't know how to set the whole project up. I tried to set up a simple test project. This contains a main.cpp a comp.cpp and the comp.h The main.cpp isn't doing anything at the moment. Comp contains a class: Code: class Comp { int add(int a, int b); int sub(int a, int b); } Well the content of the cpp should be obvious I hope. Additional I wrote the runner.cpp: Code: #define BOOST_TEST_MODULE "C++ Unit Tests fo (HowTos)