Add gtest instructions for MacOS to install guide

This commit is contained in:
Jacqueline Deans
2022-07-19 16:49:12 -05:00
committed by GitHub
parent bc67ccef1e
commit cdc1f240d8

View File

@ -168,6 +168,7 @@ export PYTHON_VERSION=3
proceed to [Install Trick](#install) section of the install guide
---
<a name="macos"></a>
### macOS Monterey, Big Sur, Catalina
#### These instructions are for Intel-based macs. For the latest Apple silicon (M1) instructions see this issue: https://github.com/nasa/trick/issues/1283
@ -214,6 +215,17 @@ e.g.
./configure --with-llvm=/Users/trickguy/llvm13 --with-udunits=/usr/local/Cellar/udunits/2.2.28
```
OPTIONAL: Trick uses google test (gtest) version 1.8 for unit testing. To install gtest:
```
brew install wget
wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz
tar xzvf release-1.8.0.tar.gz
cd googletest-release-1.8.0/googletest
cmake .
make
make install
```
proceed to [Install Trick](#install) section of the install guide
---