-
-
Save felixge/8e259fb98289bacee1cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"targets": [{ | |
"target_name": "opencv" | |
, "sources": [ | |
"src/init.cc" | |
, "src/Matrix.cc" | |
, "src/OpenCV.cc" | |
, "src/CascadeClassifierWrap.cc" | |
, "src/Contours.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)' | |
] | |
, "GCC_ENABLE_CPP_RTTI": "YES" | |
, "GCC_ENABLE_CPP_EXCEPTIONS": "YES" | |
}, | |
'libraries': [ | |
'<!@(pkg-config --libs opencv)' | |
] | |
}, { | |
'cflags': [ | |
'<!@(pkg-config --cflags opencv)' | |
, '-Wall' | |
] | |
, 'cflags!' : [ '-fno-exceptions'] | |
, 'cflags_cc!': [ '-fno-rtti', '-fno-exceptions'] | |
}] | |
] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment