Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 48 lines (47 sloc) 1.491 kb
{
"targets": [
{
"target_name": "png",
"sources": [
"src/common.cpp",
"src/png_encoder.cpp",
"src/png.cpp",
"src/fixed_png_stack.cpp",
"src/dynamic_png_stack.cpp",
"src/module.cpp",
"src/buffer_compat.cpp",
],
"conditions" : [
[
'OS=="linux"', {
"libraries" : [
'-lpng',
'-lz'
],
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ]
}
],
[
'OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
},
"libraries" : [
'<!@(pkg-config libpng --libs)'
]
}
],
[
'OS=="win"', {
"include_dirs" : [ "gyp/include" ],
"libraries" : [
'<(module_root_dir)/gyp/lib/libpng.lib',
'<(module_root_dir)/gyp/lib/zlib.lib'
]
}
]
]
}
]
}
Jump to Line
Something went wrong with that request. Please try again.