From 6168713d5febc8ef4e0c5b7180b1d3689479c8f0 Mon Sep 17 00:00:00 2001 From: Peter Braden Date: Thu, 31 May 2012 19:19:41 -0400 Subject: [PATCH] WIP on binding.gyp. node-gyp looks crazy, I don't really care about windows so not gonna bother with it yet --- binding.gyp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/binding.gyp b/binding.gyp index 5268a32..03f94bd 100644 --- a/binding.gyp +++ b/binding.gyp @@ -1,8 +1,14 @@ { - "targets": [ - { "target_name": "binding" - , "sources": [ "src/binding.cc" ] - } - ] + "targets": [{ + "target_name": "opencv" + , "sources": [ + "src/CascadeClassifierWrap.cc" + , "src/init.cc" + , "src/Matrix.cc" + , "src/OpenCV.cc" + , "src/Point.cc" + , "src/VideoCaptureWrap.cc" ] + }] + , "libraries": ['-l/lib/opencv.lib' ] }