[build] type = "cmake" [build.flags] build_dir = "build" configure = [ "-Wno-dev", "-DBUILD_SHARED_LIBS=ON", "-Dgtest_build_tests=ON", "-DGOOGLETEST_VERSION=$version", "-G Ninja" ] [dependencies] build = [ "cmake", "python", "ninja" ] runtime = [ "glibc", "libunwind", "libcxx", ] optional = [ "python" ] [package] description = "Google Test - C++ testing utility" homepage = "https://github.com/google/googletest" license = "BSD-3-Clause" name = "gtest" version = "1.17.0" [[source]] extract_dir = "$name-$version" sha256 = "65fab701d9829d38cb77c14acdc431d2108bfdbf8979e40eb8ae567edf10b27c" url = "https://github.com/google/googletest/releases/download/v$version/googletest-$version.tar.gz" patches = [ "googletest-1.17.0-fix-flaky-getthreadcount-test.patch" ] [[manual_sources]] file = "googletest-1.17.0-fix-flaky-getthreadcount-test.patch" sha256 = "b2:9f05b125c2deaf16e04b48de1bbdcf954cf44c745c16b7ee3c0492e2e36e43a50f10ef73f7f17e52ac8e4ce861b4b57546a5eb4d09c164c6d7b4a68cf857045b"