Skip to content

Commit

Permalink
cflags_cc
Browse files Browse the repository at this point in the history
  • Loading branch information
BYVoid committed Jul 26, 2024
1 parent bd9e96e commit cb7fdc5
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions node/node_opencc.gypi
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"targets": [{
"target_name": "opencc",
"sources": [
"../node/marisa.cc",
"../node/opencc.cc",
],
"include_dirs": [
"../node",
"../src",
"../deps/rapidjson-1.1.0",
"../deps/marisa-0.2.6/include",
"../deps/marisa-0.2.6/lib",
"<!(node -e \"require('nan')\")"
]
}]
}
"targets": [
{
"target_name": "opencc",
"cflags_cc": [
"-std=c++17"
],
"sources": [
"../node/marisa.cc",
"../node/opencc.cc"
],
"include_dirs": [
"../node",
"../src",
"../deps/rapidjson-1.1.0",
"../deps/marisa-0.2.6/include",
"../deps/marisa-0.2.6/lib",
"<!(node -e \"require('nan')\")"
]
}
]
}

0 comments on commit cb7fdc5

Please sign in to comment.