mrmBot-Matrix/binding.gyp

19 lines
709 B
Text
Raw Normal View History

{
"targets": [
{
"target_name": "image",
"sources": [ "<!@(node -p \"require('fs').readdirSync('./natives').map(f=>'natives/'+f).join(' ')\")" ],
2020-09-11 20:22:25 +00:00
"cflags!": [ "-fno-exceptions", "<!(pkg-config --cflags Magick++)" ],
"cflags_cc": [ "-std=c++17" ],
2020-09-11 20:22:25 +00:00
"cflags_cc!": [ "-fno-exceptions", "<!(pkg-config --cflags Magick++)" ],
"include_dirs": [
"<!@(node -p \"require('node-addon-api').include\")",
"<!@(pkg-config --cflags-only-I Magick++ | sed 's/^.\{2\}//')"
],
"libraries": [
2020-09-11 20:22:25 +00:00
"<!(pkg-config --libs Magick++)",
],
"defines": ["NAPI_CPP_EXCEPTIONS", "MAGICKCORE_HDRI_ENABLE=false", "MAGICKCORE_QUANTUM_DEPTH=16"]
}
]
}