aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorshiqian <shiqian@8415998a-534a-0410-bf83-d39667b30386>2008-12-11 00:13:55 +0000
committershiqian <shiqian@8415998a-534a-0410-bf83-d39667b30386>2008-12-11 00:13:55 +0000
commit281b1d21dbd77bdf60c3d1c61a4e82420951268d (patch)
tree84da90e818c32eda290556053059e29cb58b0ca0 /README
parenta92e49620ed85276824511302e9703a8093759e7 (diff)
downloadgoogletest-281b1d21dbd77bdf60c3d1c61a4e82420951268d.tar.gz
googletest-281b1d21dbd77bdf60c3d1c61a4e82420951268d.tar.bz2
googletest-281b1d21dbd77bdf60c3d1c61a4e82420951268d.zip
More tweaks to the build script.
Diffstat (limited to 'README')
-rw-r--r--README31
1 files changed, 16 insertions, 15 deletions
diff --git a/README b/README
index 77610e28..47d10edb 100644
--- a/README
+++ b/README
@@ -40,10 +40,8 @@ testing framework for writing tests. Currently Google Mock only works
with Google Test (http://code.google.com/p/googletest/), although
eventually we plan to support other C++ testing frameworks. You can
use either the copy of Google Test that comes with Google Mock, or a
-compatible version you already have.
-
-TODO(wan@google.com): describe which Google Test versions are
-compatible with the latest Google Mock release.
+compatible version you already have. This version of Google Mock
+requires Google Test 1.2.1.
Google Mock depends on advanced C++ features and thus requires a more
modern compiler. The following are needed to use Google Mock:
@@ -101,20 +99,23 @@ or for a release version X.Y.*'s branch:
Next you will need to prepare the GNU Autotools build system, if you
are using Linux or Mac OS X. Enter the target directory of the
checkout command you used ('gmock-svn' or 'gmock-X.Y-svn' above) and
-proceed with the following commands:
+proceed with the following command:
+
+ $ autoreconf -fvi
+
+Once you have completed this step, you are ready to build the library.
+Note that you should need to complete this step only once. The sub-
+sequent `make' invocations will automatically re-generate the bits of
+the build system that need to be changed.
- $ aclocal-1.9 # Where "1.9" must match the following automake command.
- $ libtoolize -c # Use "glibtoolize -c" instead on Mac OS X.
- $ autoheader
- $ automake-1.9 -ac # See Automake version requirements above.
- $ autoconf
+If your system uses older versions of the autotools, the above command will
+fail. You may need to explicitly specify a version to use. For instance, if
+you have both GNU Automake 1.4 and 1.9 installed and `automake' would invoke
+the 1.4, use instead:
-While this is a bit complicated, it will most often be automatically re-run by
-your "make" invocations, so in practice you shouldn't need to worry too much.
-Once you have completed these steps, you are ready to build the library.
+ $ AUTOMAKE=automake-1.9 ACLOCAL=aclocal-1.9 autoreconf -fvi
-TODO(chandlerc@google.com): Update the above with instructions on
-preparing the build system for Google Test.
+Make sure you're using the same version of automake and aclocal.
### Source Package: ###
Google Mock is also released in source packages which can be downloaded from