Skip to content

Commit

Permalink
Update README on the section 'Build with Google Test'
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Nov 12, 2018
1 parent bb7fa5b commit d9c0ba4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ You can also build a debian package using:
dpkg-buildpackage -us -uc -b

### Build with Google Test
1. Install Google Test DEB package. ref: https://stackoverflow.com/questions/13513905/how-to-setup-googletest-as-a-shared-library-on-linux/41954177#41954177
1. Install Google Test DEB package.
```
$ sudo apt-get install cmake libgtest-dev
$ cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/; cd -
$ g++ test.cpp -o test -lgtest -pthread && ./test
$ cd /usr/src/gtest && sudo cmake . && sudo make
```
2. Rebuild with Google Test
```
Expand Down

0 comments on commit d9c0ba4

Please sign in to comment.