-
-
Save thclark/e89775f05846b5444d330b3662363cff to your computer and use it in GitHub Desktop.
Homebrew Formula for Google Test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Homebrew Formula for Google Test | |
# Usage: brew install --HEAD https://gist.githubusercontent.com/Kronuz/96ac10fbd8472eb1e7566d740c4034f8/raw/gtest.rb | |
require 'formula' | |
class Gtest < Formula | |
desc "Google Test" | |
homepage "https://github.com/google/googletest" | |
head "git://github.com/google/googletest.git", :using => :git | |
stable do | |
url "https://github.com/google/googletest/archive/release-1.10.0.tar.gz" | |
end | |
depends_on "cmake" => :build | |
def install | |
mkdir "build" do | |
system "cmake", "..", *std_cmake_args | |
system "make", "install" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment