Adds support for building Google Mock as a shared library (DLL).

This commit is contained in:
vladlosev
2011-05-20 00:42:22 +00:00
parent 47be72a952
commit 587c1b37c2
14 changed files with 86 additions and 65 deletions

View File

@@ -82,11 +82,11 @@ GMOCK_DECLARE_string_(verbose);
// Since Google Test is needed for Google Mock to work, this function
// also initializes Google Test and parses its flags, if that hasn't
// been done.
void InitGoogleMock(int* argc, char** argv);
GTEST_API_ void InitGoogleMock(int* argc, char** argv);
// This overloaded version can be used in Windows programs compiled in
// UNICODE mode.
void InitGoogleMock(int* argc, wchar_t** argv);
GTEST_API_ void InitGoogleMock(int* argc, wchar_t** argv);
} // namespace testing