Skip to content

Commit 2ec1571

Browse files
xsdgcaclark
authored andcommitted
Incorporates the Meson gtest wrap file for googletest, in order to allow Meson to auto-download and -compile googletest when needed.
This is based on the strategy recommended here: https://stackoverflow.com/a/57478960 The gtest.wrap file originates from here (using version 1.10.0): https://wrapdb.mesonbuild.com/gtest
1 parent 6037e4e commit 2ec1571

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Makefile.in
5757
/src/view_file/.deps
5858
/src/view_file/.dirstamp
5959

60+
# /subprojects
61+
/subprojects/packagecache
62+
/subprojects/googletest-release-*
63+
6064
/build
6165
/build-stamp
6266
/debian/geeqie*

subprojects/gtest.wrap

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[wrap-file]
2+
directory = googletest-release-1.10.0
3+
4+
source_url = https://github.com/google/googletest/archive/release-1.10.0.zip
5+
source_filename = gtest-1.10.0.zip
6+
source_hash = 94c634d499558a76fa649edb13721dce6e98fb1e7018dfaeba3cd7a083945e91
7+
8+
patch_url = https://wrapdb.mesonbuild.com/v1/projects/gtest/1.10.0/1/get_zip
9+
patch_filename = gtest-1.10.0-1-wrap.zip
10+
patch_hash = 04ff14e8880e4e465f6260221e9dfd56fea6bc7cce4c4aff0dc528e4a2c8f514

0 commit comments

Comments
 (0)