I am using googtest to test a project
The project contains a number of standard H and cpp files in the src directory
When I run the tests the compiler fails with an undefined reference - it looks like the compiler cannot load the cpp file.
When I add a the following to the unit test it compiles successfully
#include "dry_enum.h"
#include "dry_enum.cpp"
The normal build of a arduino target works fine.
Why is this happening?
Why do i need to add the specific include of the cpp file?
thanks