1st working version of node example

This commit is contained in:
heri16
2020-08-04 16:47:28 +08:00
parent 087d8a820c
commit 590ee0c655
5 changed files with 254 additions and 148 deletions

View File

@@ -2,17 +2,25 @@
"targets": [
{
"include_dirs": [
"libzt/lib/debug/linux-x86_64",
"libzt/include"
],
"libraries": [
"<!(pwd)/libzt/lib/release/linux-x86_64/libzt.so"
"libzt/lib/release/linux-x86_64",
"libzt/include",
],
"includes": [
"auto.gypi"
],
"sources": [
"binding.cc"
],
"conditions":[
["OS=='linux' and target_arch=='x64'", {
"libraries": [ "<(module_root_dir)/libzt/lib/release/linux-x86_64/libzt.so" ]
}],
["OS=='mac' and target_arch=='x64'", {
"libraries": [ "<(module_root_dir)/libzt/lib/release/macos-x86_64/libzt.a" ]
}],
["OS=='win'", {
}]
]
}
],