nlohmann_json wrap

pull/710/head
FlightlessMango 2 years ago
parent 0e680f8f7d
commit 4341843117

1
.gitignore vendored

@ -41,6 +41,7 @@ subprojects/packagecache/
subprojects/Vulkan-Headers-*/
subprojects/imgui-*/
subprojects/spdlog-*/
subprojects/nlohmann_json-*/
#GNU Global Metadata
**/GPATH

File diff suppressed because it is too large Load Diff

@ -271,8 +271,10 @@ else
windows_deps = null_dep
endif
if get_option('mangoapp')
if get_option('mangoapp') or get_option('mangoapp_layer')
glfw3_dep = dependency('glfw3')
json_sp = subproject('nlohmann_json')
json_dep = json_sp.get_variable('nlohmann_json_dep')
endif
subdir('src')

@ -245,6 +245,7 @@ if get_option('mangoapp') and sizeof_ptr == 8
dbus_dep,
dep_x11,
glfw3_dep,
json_dep,
],
include_directories : [inc_common],
link_args : link_args,
@ -275,6 +276,9 @@ if get_option('mangoapp_layer')
cpp_args : [
pre_args,
],
dependencies : [
json_dep
],
gnu_symbol_visibility : 'hidden',
include_directories : [inc_common],
link_args : link_args,

@ -0,0 +1,10 @@
[wrap-file]
directory = nlohmann_json-3.10.5
lead_directory_missing = true
source_url = https://github.com/nlohmann/json/releases/download/v3.10.5/include.zip
source_filename = nlohmann_json-3.10.5.zip
source_hash = b94997df68856753b72f0d7a3703b7d484d4745c567f3584ef97c96c25a5798e
[provide]
nlohmann_json = nlohmann_json_dep
Loading…
Cancel
Save