I have searched the internet and cannot find a way to add individual include files for my build. Is this not possible? I have very little experience with Make, so I don't know if this limitation comes from Make.
The reason I want this is because I am trying to unittest a legacy codebase without changing the code itself. Hence, I am trying to inject the mocks by compilation. To achieve this, I need my project to mix/match between the 'real' and the 'mock' header files.
As a temporary fix I have put the header files in separate folders, and this proof of concept seems to work. However, this solution seems rather ugly?
P.S. I'm using gtest/gmock, and I don't want to use the templating style dependency injection they suggest.