vscode-vibrancy-continued/binding.gyp
2021-01-04 23:48:10 +08:00

40 lines
821 B
Python

{
"targets": [
{
"target_name": "vibrancy",
"conditions":[
["OS=='win'", {
"sources": [
"native/vibrancy.cc"
]
}]
],
"cflags": [
"-O3"
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")"
],
"defines": [
"NAPI_DISABLE_CPP_EXCEPTIONS"
]
},
{
"target_name": "displayconfig",
"cflags!": ["-fno-exceptions"],
"cflags_cc!": ["-fno-exceptions"],
"conditions": [
["OS=='win'", {
"sources": ["native/displayconfig.cc"]
}],
],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")"
],
'defines': [
'NAPI_DISABLE_CPP_EXCEPTIONS'
],
}
]
}