Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit b9e1186

Browse files
author
Face Kapow
committed
Add JSON11 to SConstruct
1 parent 94e67e3 commit b9e1186

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

SConstruct

+2
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ config = {
119119
'deps/printf',
120120
'deps/miniz',
121121
'deps/libsodium/src/libsodium/include',
122+
'deps/json11',
122123
'src',
123124
'test',
124125
],
@@ -130,6 +131,7 @@ config = {
130131
'acpica',
131132
'printf',
132133
'sodium',
134+
'json11',
133135
'musl',
134136
'gcc',
135137
],

deps/SConscript

+13-1
Original file line numberDiff line numberDiff line change
@@ -1238,11 +1238,23 @@ libs_config = {
12381238
'libsodium/src/libsodium/sodium/version.c',
12391239
],
12401240
},
1241+
"json11": {
1242+
"include": [
1243+
'musl/src/internal',
1244+
'musl/include',
1245+
'musl/arch/x86_64',
1246+
'musl/arch/x86_64/bits',
1247+
'libcxx/include',
1248+
'json11'
1249+
],
1250+
"source": [
1251+
'json11/json11.cpp',
1252+
],
1253+
},
12411254
}
12421255

12431256

12441257
for targetname, params in libs_config.items():
12451258
target_env = env_base.Clone();
12461259
target_env.Replace(CPPPATH = params["include"])
12471260
target_env.Library(target = targetname, source = params["source"])
1248-

0 commit comments

Comments
 (0)