Setting up a C ++ project with Boost Unit Test and CMake

I am starting a new C ++ project using Boost Unit Tests and CMake. There are several modules into which the classes are divided.

  • What is the recommended framework for cpp tests, headers and modules? For both directories and namespaces.

  • How do I tell CMake to run tests?

  • Do I need to include every file in CMakeLists or can I create a global directory?

+3


source to share





All Articles