Kaynağa Gözat

Add new recipe for GoogleTest

Patrick-Christopher Mattulat 2 yıl önce
ebeveyn
işleme
75863e503b
1 değiştirilmiş dosya ile 18 ekleme ve 0 silme
  1. 18 0
      recipes/googletest/1_11_0/conanfile.py

+ 18 - 0
recipes/googletest/1_11_0/conanfile.py

@@ -0,0 +1,18 @@
+from conans import ConanFile, tools
+
+
+class GoogletestConan(ConanFile):
+    name = "googletest"
+    version = "1.11.0"
+    settings = "os", "compiler", "build_type", "arch"
+    description = "This is a unit testing framework for C++."
+    url = "None"
+    license = "BSD 3-Clause"
+    author = "None"
+    topics = None
+
+    def package(self):
+        self.copy("*")
+
+    def package_info(self):
+        self.cpp_info.libs = ["gmock", "gmock_main", "gtest", "gtest_main"]