-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
32 lines (32 loc) · 847 Bytes
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"targets": [
{
"target_name": "petard",
"sources": [
"src/node/type_wrapper.cpp",
"src/node/value_wrapper.cpp",
"src/node/builder_wrapper.cpp",
"src/node/function_builder_wrapper.cpp",
"src/node/switch_builder_wrapper.cpp",
"src/node/code_unit_wrapper.cpp",
"src/node/api.cpp"
],
"defines": [
"__STDC_LIMIT_MACROS=1",
"__STDC_CONSTANT_MACROS=1"
],
"include_dirs": [
"include/utils",
"include/petard",
"include/node",
"<!(node -e \"require(\'nan\')\")",
"<!($LLVM_CONFIG --includedir)"
],
"libraries": [
"<(module_root_dir)/lib/libpetard.a",
"<!@($LLVM_CONFIG --ldflags)",
"<!@($LLVM_CONFIG --libs core native support bitwriter mcjit)"
]
}
]
}