node-opencv/binding.gyp
2012-07-04 18:51:29 -07:00

30 lines
662 B
Python
Executable File

{
"targets": [{
"target_name": "opencv"
, "sources": [
"src/init.cc"
, "src/Matrix.cc"
, "src/OpenCV.cc"
, "src/CascadeClassifierWrap.cc"
, "src/Point.cc"
, "src/VideoCaptureWrap.cc"
]
, "conditions": [
['OS=="mac"', {
# cflags on OS X are stupid and have to be defined like this
'xcode_settings': {
'OTHER_CFLAGS': [
'<!@(pkg-config --cflags opencv)'
],
}
}, {
'cflags': [
'<!@(pkg-config --cflags opencv)'
, 'Wall'
]
}]
]
}]
}