|
|
@ -52,7 +52,8 @@ package (as described below): |
|
|
|
* GNU-compatible Make or "gmake" |
|
|
|
* GNU-compatible Make or "gmake" |
|
|
|
* POSIX-standard shell |
|
|
|
* POSIX-standard shell |
|
|
|
* POSIX(-2) Regular Expressions (regex.h) |
|
|
|
* POSIX(-2) Regular Expressions (regex.h) |
|
|
|
* gcc 4.0 or newer |
|
|
|
* gcc 4.0 or newer, or gcc 3.4 or newer with the tr1 tuple library |
|
|
|
|
|
|
|
(from Boost or other vendors). |
|
|
|
|
|
|
|
|
|
|
|
Furthermore, if you are building Google Mock from a VCS Checkout (also |
|
|
|
Furthermore, if you are building Google Mock from a VCS Checkout (also |
|
|
|
described below), there are further requirements: |
|
|
|
described below), there are further requirements: |
|
|
@ -63,11 +64,12 @@ described below), there are further requirements: |
|
|
|
|
|
|
|
|
|
|
|
### Windows Requirements ### |
|
|
|
### Windows Requirements ### |
|
|
|
* Microsoft Visual C++ 8.0 SP1 or newer |
|
|
|
* Microsoft Visual C++ 8.0 SP1 or newer |
|
|
|
* An implementation of the tr1 C++ library (You can get it for free |
|
|
|
* An implementation of the tr1 tuple C++ library (You can get it for |
|
|
|
from http://www.boost.org/. We have verified that version 1.36.0 |
|
|
|
free from http://www.boost.org/. We have verified that version |
|
|
|
works. One caveat is this implementation exposes a bug in Visual |
|
|
|
1.36.0 works. One caveat is this implementation exposes a bug in |
|
|
|
C++'s <type_info> header when exceptions are disabled. Therefore |
|
|
|
Visual C++'s <type_info> header when exceptions are disabled. |
|
|
|
your project must enable exceptions for this configuration to work.) |
|
|
|
Therefore your project must enable exceptions for this |
|
|
|
|
|
|
|
configuration to work.) |
|
|
|
|
|
|
|
|
|
|
|
### Mac OS X Requirements ### |
|
|
|
### Mac OS X Requirements ### |
|
|
|
* Mac OS X 10.4 Tiger or newer |
|
|
|
* Mac OS X 10.4 Tiger or newer |
|
|
@ -237,6 +239,11 @@ is a header-only library, so the installation only involves unpacking |
|
|
|
it to a suitable location - you don't need to compile it or download a |
|
|
|
it to a suitable location - you don't need to compile it or download a |
|
|
|
pre-compiled Boost binary. |
|
|
|
pre-compiled Boost binary. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since Boost is quite large, you may prefer to only install the files |
|
|
|
|
|
|
|
actually needed by Google Mock. If so, you can download TR1 tuple |
|
|
|
|
|
|
|
without other parts of Boost from |
|
|
|
|
|
|
|
http://code.google.com/p/googlemock/downloads/list. |
|
|
|
|
|
|
|
|
|
|
|
After that you have two options: either set up Boost globally or |
|
|
|
After that you have two options: either set up Boost globally or |
|
|
|
modify the Google Mock project to point to your copy of Boost. The |
|
|
|
modify the Google Mock project to point to your copy of Boost. The |
|
|
|
former will let all your tests use the same Boost library while the |
|
|
|
former will let all your tests use the same Boost library while the |
|
|
|