File tree Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Original file line number Diff line number Diff line change 44 },
55 "targets" : [
66 {
7- "target_name" : "action_before_build" ,
8- "type" : "none" ,
9- "hard_dependency" : 1 ,
10- "actions" : [
11- {
12- "action_name" : "update_libchdb" ,
13- "inputs" : [],
14- "outputs" : [
15- "<(module_root_dir)/libchdb.so"
16- ],
17- "action" : ["./update_libchdb.sh" ]
18- }
19- ]
20- },
21- {
22- "target_name" : "addon" ,
23- "sources" : [ "src/addon.cc" ],
24- "dependencies" : [
25- "action_before_build"
26- ],
7+ "target_name" : "chdb_node" ,
8+ "sources" : [ "lib/chdb_node.cpp" ],
279 "include_dirs" : [
2810 "<!@(node -p \" require('node-addon-api').include\" )" ,
29- "include /"
11+ "lib /"
3012 ],
31- "libraries" : [ "-L<(module_root_dir)" , "-lchdb" ],
32- "cflags!" : [ "-fno-exceptions" ],
33- "cflags_cc!" : [ "-fno-exceptions" ],
13+ "libraries" : [ "-L<(module_root_dir)/lib " , "-lchdb" ],
14+ # "cflags!": [ "-fno-exceptions" ],
15+ # "cflags_cc!": [ "-fno-exceptions" ],
3416 "defines" : [ "NAPI_DISABLE_CPP_EXCEPTIONS" ]
3517 }
3618 ]
You can’t perform that action at this time.
0 commit comments