title: Better way to include .cpp files in Test Project?
body: <p>I am currently writing a C++ program using Visual Studio. </p>
  
  <p>Now, I wanted to add a second Test project which is supposed to contain my unit tests. The problem is now, that if I want to test my own code, I have to add every .cpp file of the source files from my main project to the second project, even though I included the headers. Is there a better alternative?</p>
  
  <p>Thank you very much.</p>