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

@@ -41,9 +41,9 @@
#if GTEST_OS_WINDOWS_MOBILE
# include <tchar.h> // NOLINT
int _tmain(int argc, TCHAR** argv) {
GTEST_API_ int _tmain(int argc, TCHAR** argv) {
#else
int main(int argc, char** argv) {
GTEST_API_ int main(int argc, char** argv) {
#endif // GTEST_OS_WINDOWS_MOBILE
std::cout << "Running main() from gmock_main.cc\n";
// Since Google Mock depends on Google Test, InitGoogleMock() is