Skip to content

Instantly share code, notes, and snippets.

@kayala
kayala / Installing Google Test on Mac.md
Created September 10, 2021 07:39 — forked from butuzov/Installing Google Test on Mac.md
Bash Script to install Google Test and Google Mock on Mac

Installing Google Test on Mac

One bash script to install google test (and mock) on your Mac. I assume you already had install cmake (if not, use brew - brew install cmake).

It use brew directories to store gmock and gtest.

gtest_installer.sh

#!/usr/bin/env bash