Skip to content

Instantly share code, notes, and snippets.

@johnhamelink
Created January 14, 2016 02:46
Show Gist options
  • Select an option

  • Save johnhamelink/567012b7362f82af10a8 to your computer and use it in GitHub Desktop.

Select an option

Save johnhamelink/567012b7362f82af10a8 to your computer and use it in GitHub Desktop.
def install
(buildpath/"gtest").install resource("gtest")
cd "gtest" do
system "cmake", ".", *std_cmake_args
system "make"
end
system "cmake", "cpp", *std_cmake_args
system "make", "install"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment