GoogleTest and GoogleMock do not need to be compiled into a .dll.
Rather it is saying that they need to be compiled with the same Runtime Library
setting as the project consuming (linking) them (/MD
or /MT
). Runtime Library Settings
Consistency is the key! When linking any library (LIB or DLL), they should have the same Runtime Library
setting as the project (or vice versa).
I would also recommend using the same Character Set
setting.