Use CMake build system
CMake should be used for configuring the project.
Dimer should be set up as a library, so the add_library
command should do this.
The tests should be an executable, so the add_executable
command should handle this.
The tests should also be configured and run from CMake. Look into enable_testing()
and the add_test
command.
The library should be configured, built, and tested using
mkdir build
cd build
cmake ..
make
make test