I want to write unit tests using Google Test / Mock for code in my DLL. The test code is supposed to be compiled into my DLL.
I read in the Google Test Primer that this is possible, but that gtest has to be compiled into a DLL then (and I guess the same thing holds for gmock, too).
Has anybody compiled and used the framework as DLL's and can tell me the most important project settings (I use VS2010) and how to use the resulting DLL's to run the tests?