3

I'm starting a greenfield project in C++, using Boost Unit Tests and CMake. There are several modules which the classes are divided into.

  1. What is a recommended structure for the cpp, headers, and unit tests? Both for directories and for namespaces.

  2. How do I tell CMake to run the tests?

  3. Do I need to include each file in the CMakeLists or can I do a directory glob?

SRobertJames
  • 8,210
  • 14
  • 60
  • 107
  • 1
    Closely related to [this](http://stackoverflow.com/questions/16857517/cmake-how-to-add-boost-test-cases-with-relative-directories). – Ami Tavory May 26 '15 at 18:14

0 Answers0