Skip to content

Commit bb12fc2

Browse files
authored
Merge pull request #177 from OpenBrickProtocolFoundation/update-gtest
Update gtest + magic_enum
2 parents 562d376 + 19d0c35 commit bb12fc2

File tree

4 files changed

+29
-24
lines changed

4 files changed

+29
-24
lines changed

subprojects/gtest.wrap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[wrap-file]
2-
directory = googletest-1.14.0
3-
source_url = https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz
4-
source_filename = gtest-1.14.0.tar.gz
5-
source_hash = 8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7
6-
patch_filename = gtest_1.14.0-2_patch.zip
7-
patch_url = https://wrapdb.mesonbuild.com/v2/gtest_1.14.0-2/get_patch
8-
patch_hash = 4ec7f767364386a99f7b2d61678287a73ad6ba0f9998be43b51794c464a63732
9-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/gtest_1.14.0-2/gtest-1.14.0.tar.gz
10-
wrapdb_version = 1.14.0-2
2+
directory = googletest-1.15.0
3+
source_url = https://github.com/google/googletest/archive/refs/tags/v1.15.0.tar.gz
4+
source_filename = gtest-1.15.0.tar.gz
5+
source_hash = 7315acb6bf10e99f332c8a43f00d5fbb1ee6ca48c52f6b936991b216c586aaad
6+
patch_filename = gtest_1.15.0-1_patch.zip
7+
patch_url = https://wrapdb.mesonbuild.com/v2/gtest_1.15.0-1/get_patch
8+
patch_hash = 5f8e484c48fdc1029c7fd08807bd2615f8c9d16f90df6d81984f4f292752c925
9+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/gtest_1.15.0-1/gtest-1.15.0.tar.gz
10+
wrapdb_version = 1.15.0-1
1111

1212
[provide]
1313
gtest = gtest_dep

subprojects/magic_enum.wrap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[wrap-file]
2-
directory = magic_enum-0.9.5
3-
source_url = https://github.com/Neargye/magic_enum/archive/refs/tags/v0.9.5.tar.gz
4-
source_filename = magic_enum-v0.9.5.tar.gz
5-
source_hash = 44ad80db5a72f5047e01d90e18315751d9ac90c0ab42cbea7a6f9ec66a4cd679
6-
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/magic_enum_0.9.5-1/magic_enum-v0.9.5.tar.gz
7-
wrapdb_version = 0.9.5-1
2+
directory = magic_enum-0.9.6
3+
source_url = https://github.com/Neargye/magic_enum/archive/refs/tags/v0.9.6.tar.gz
4+
source_filename = magic_enum-v0.9.6.tar.gz
5+
source_hash = 814791ff32218dc869845af7eb89f898ebbcfa18e8d81aa4d682d18961e13731
6+
source_fallback_url = https://github.com/mesonbuild/wrapdb/releases/download/magic_enum_0.9.6-1/magic_enum-v0.9.6.tar.gz
7+
wrapdb_version = 0.9.6-1
88

9-
diff_files = magic_enum-0.9.5_installed.diff
9+
diff_files = magic_enum-0.9.6_installed.diff
1010

1111
[provide]
1212
magic_enum = magic_enum_dep
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
diff --git a/meson.build b/meson.build
2-
index c231c7f..66f96ac 100644
2+
index 207c834..9fe13a7 100644
33
--- a/meson.build
44
+++ b/meson.build
55
@@ -4,7 +4,7 @@ project(
6-
version: '0.9.5',
6+
version: '0.9.6',
77
)
88

99
-magic_enum_include = include_directories('include/magic_enum')
1010
+magic_enum_include = include_directories('include')
1111

1212
magic_enum_args = []
1313

14-
@@ -20,3 +20,18 @@ magic_enum_dep = declare_dependency(
15-
if get_option('test')
16-
subdir('test')
17-
endif
18-
+
14+
@@ -17,6 +17,23 @@ magic_enum_dep = declare_dependency(
15+
compile_args: magic_enum_args,
16+
)
17+
1918
+install_headers(
2019
+ files(
2120
+ 'include/magic_enum/magic_enum.hpp',
@@ -30,3 +29,9 @@ index c231c7f..66f96ac 100644
3029
+ ),
3130
+ subdir: 'magic_enum',
3231
+)
32+
+
33+
if get_option('test')
34+
subdir('test')
35+
endif
36+
+
37+
+

tools/dependencies/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ endif
110110
magic_enum_dep = dependency(
111111
'magic_enum',
112112
required: true,
113-
default_options: {'test': false},
113+
default_options: {'test': false, 'hash': true},
114114
)
115115
core_lib += {'deps': [core_lib.get('deps'), magic_enum_dep]}
116116

0 commit comments

Comments
 (0)