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