title: How to integrate googletest into an existing VS2015 solution?
body: <p>My first approach was to create an extra static library that compiled <code>gtest-all.cc</code>, <code>gmock-all.cc</code> and <code>gmock-main.cc</code> (to do without <code>main</code> in the test project).
  The googletest project compiled, but I got this link error in the test project:</p>
  
  <p><code>
  Error   LNK2001 unresolved external symbol "public: void __cdecl testing::internal::Mutex::AssertHeld(void)" (?AssertHeld@Mutex@internal@testing@@QEAAXXZ)
  </code></p>
  
  <p>What preprocessor or projects settings avoid this link error for x64?</p>