first commit of node example

This commit is contained in:
heri16
2020-08-04 05:06:59 +08:00
parent 37c01e18cf
commit 087d8a820c
6 changed files with 492 additions and 0 deletions

22
examples/node/binding.gyp Normal file
View File

@@ -0,0 +1,22 @@
{
"targets": [
{
"include_dirs": [
"libzt/lib/debug/linux-x86_64",
"libzt/include"
],
"libraries": [
"<!(pwd)/libzt/lib/release/linux-x86_64/libzt.so"
],
"includes": [
"auto.gypi"
],
"sources": [
"binding.cc"
]
}
],
"includes": [
"auto-top.gypi"
]
}