summaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-11-14 02:13:21 (GMT)
committerGitHub <noreply@github.com>2018-11-14 02:13:21 (GMT)
commitd5932506d6eed73ac80b9bcc47ed723c8c74eb1e (patch)
tree3be8c4907ebff4eb2f494e832621334790b100c1 /googletest
parent7a0680dc223088211807f1b19598dfe01b3bab8b (diff)
parent09beafcd1d54fbc14f1b6f38962449cbcb134faa (diff)
downloadgoogletest-d5932506d6eed73ac80b9bcc47ed723c8c74eb1e.zip
googletest-d5932506d6eed73ac80b9bcc47ed723c8c74eb1e.tar.gz
googletest-d5932506d6eed73ac80b9bcc47ed723c8c74eb1e.tar.bz2
Merge pull request #1961 from coppered/patch-1
Update README.md
Diffstat (limited to 'googletest')
-rw-r--r--googletest/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/README.md b/googletest/README.md
index 626fd7b..747e7cf 100644
--- a/googletest/README.md
+++ b/googletest/README.md
@@ -18,7 +18,7 @@ with `${GTEST_DIR}/include` in the system header search path and `${GTEST_DIR}`
in the normal header search path. Assuming a Linux-like system and gcc,
something like the following will do:
- g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} \
+ g++ -std=c++11 -isystem ${GTEST_DIR}/include -I${GTEST_DIR} \
-pthread -c ${GTEST_DIR}/src/gtest-all.cc
ar -rv libgtest.a gtest-all.o
@@ -28,7 +28,7 @@ Next, you should compile your test source file with `${GTEST_DIR}/include` in
the system header search path, and link it with gtest and any other necessary
libraries:
- g++ -isystem ${GTEST_DIR}/include -pthread path/to/your_test.cc libgtest.a \
+ g++ -std=c++11 -isystem ${GTEST_DIR}/include -pthread path/to/your_test.cc libgtest.a \
-o your_test
As an example, the make/ directory contains a Makefile that you can use to build