summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-05-11 09:37:33 +0000
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2010-05-11 09:37:33 +0000
commite9f02382977c4e3c156198ba771f663ed63cbc7b (patch)
treebad355259ff0774add34adbda2e522a49e5640d2 /README
parent99f2fd8ac474e2a8cf922410af199fa7a0057f7b (diff)
downloadgoogletest-e9f02382977c4e3c156198ba771f663ed63cbc7b.tar.gz
Renames CMake build script options.
git-svn-id: http://googletest.googlecode.com/svn/trunk@427 861a406c-534a-0410-8894-cb66d6ee9925
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 3 insertions, 4 deletions
diff --git a/README b/README
index ec61190..792abf3 100644
--- a/README
+++ b/README
@@ -171,7 +171,7 @@ workflow starts with:
If you want to build Google Test's samples, you should replace the
last command with
- cmake -Dbuild_gtest_samples=ON ${GTEST_DIR}
+ cmake -Dgtest_build_samples=ON ${GTEST_DIR}
If you are on a *nix system, you should now see a Makefile in the
current directory. Just type 'make' to build gtest.
@@ -371,7 +371,7 @@ For that you can use CMake:
mkdir mybuild
cd mybuild
- cmake -Dbuild_all_gtest_tests=ON ${GTEST_DIR}
+ cmake -Dgtest_build_tests=ON ${GTEST_DIR}
Make sure you have Python installed, as some of Google Test's tests
are written in Python. If the cmake command complains about not being
@@ -379,8 +379,7 @@ able to find Python ("Could NOT find PythonInterp (missing:
PYTHON_EXECUTABLE)"), try telling it explicitly where your Python
executable can be found:
- cmake -DPYTHON_EXECUTABLE=path/to/python -Dbuild_all_gtest_tests=ON \
- ${GTEST_DIR}
+ cmake -DPYTHON_EXECUTABLE=path/to/python -Dgtest_build_tests=ON ${GTEST_DIR}
Next, you can build Google Test and all of its own tests. On *nix,
this is usually done by 'make'. To run the tests, do