2020-07-12 15:14:39 +00:00
|
|
|
{
|
|
|
|
"targets": [
|
|
|
|
{
|
|
|
|
"target_name": "image",
|
2020-07-14 14:53:51 +00:00
|
|
|
"sources": [ "<!@(node -p \"require('fs').readdirSync('./natives').map(f=>'natives/'+f).join(' ')\")" ],
|
2020-07-27 23:02:59 +00:00
|
|
|
"cflags!": [ "-fno-exceptions", "<!(pkg-config --cflags Magick++ zxing)" ],
|
2020-08-28 02:34:12 +00:00
|
|
|
"cflags_cc!": [ "-fno-exceptions", "<!(pkg-config --cflags Magick++ zxing)" ],
|
2020-07-12 15:14:39 +00:00
|
|
|
"include_dirs": [
|
|
|
|
"<!@(node -p \"require('node-addon-api').include\")",
|
|
|
|
"/usr/include/ImageMagick-7",
|
|
|
|
"/usr/include/glib-2.0",
|
|
|
|
"/usr/lib/glib-2.0/include"
|
|
|
|
],
|
|
|
|
"libraries": [
|
2020-09-03 03:52:01 +00:00
|
|
|
"<!(pkg-config --libs Magick++ zxing)",
|
2020-07-12 15:14:39 +00:00
|
|
|
],
|
|
|
|
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|