| 1 |
[manifest] |
| 2 |
name = googletest |
| 3 |
|
| 4 |
[download] |
| 5 |
url = https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz |
| 6 |
sha256 = 81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2 |
| 7 |
|
| 8 |
[build] |
| 9 |
builder = cmake |
| 10 |
subdir = googletest-release-1.12.1 |
| 11 |
|
| 12 |
[cmake.defines] |
| 13 |
# Everything else defaults to the shared runtime, so tell gtest that |
| 14 |
# it should not use its choice of the static runtime |
| 15 |
gtest_force_shared_crt=ON |
| 16 |
|
| 17 |
[cmake.defines.os=windows] |
| 18 |
BUILD_SHARED_LIBS=ON |
| 19 |
|
| 20 |
# packaged googletest is too old |
| 21 |
[debs.not(all(distro=ubuntu,any(distro_vers="18.04",distro_vers="20.04",distro_vers="22.04")))] |
| 22 |
libgtest-dev |
| 23 |
libgmock-dev |