title: Adding a build target in Visual Studio 2015
body: <p>I've written a bunch of tests for my C++ project using the <a href="https://github.com/philsquared/Catch" rel="nofollow">Catch testing library</a>. Catch tests can be run easily by</p>
  
  <ol>
  <li><p>Compiling the project like normal, and then</p></li>
  <li><p>Running a file called "test_main.cpp" to initiate the tests.</p></li>
  </ol>
  
  <p>When using XCode (a Mac-only C++ IDE), I did this by creating a second build target. However, recently I have had to move my code to Visual Studio (a Windows-only C++ IDE). How can I add a build target in Visual Studio such that my entire project compiles as-is, then runs "test_main.cpp"?</p>