Skip to content

Commit

Permalink
change to gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Nov 1, 2012
1 parent 66b2590 commit 6ee39be
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 25 deletions.
13 changes: 13 additions & 0 deletions binding.gyp
@@ -0,0 +1,13 @@
{
'targets': [
{
'target_name': 'kinect',
'sources': [
'src/kinect.cc',
],
'libraries': [
'libfreenect.a',
],
}
]
}
2 changes: 1 addition & 1 deletion kinect.js
@@ -1,4 +1,4 @@
var kinect = require('./build/Release/node-kinect.node');
var kinect = require('./build/Release/kinect.node');
var EventEmitter = require('events').EventEmitter;
var inherits = require('util').inherits;
var assert = require('assert');
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -8,7 +8,6 @@
"mocha": "*"
},
"scripts": {
"install": "node-waf configure build",
"test": "node_modules/.bin/mocha test/*.js"
}
}
4 changes: 3 additions & 1 deletion src/kinect.cc
Expand Up @@ -5,7 +5,9 @@
#include "node_buffer.h"
#include "uv.h"

#include "libfreenect.h"
extern "C" {
#include <libfreenect/libfreenect.h>
}

#include <stdio.h>
#include <stdexcept>
Expand Down
22 changes: 0 additions & 22 deletions wscript

This file was deleted.

0 comments on commit 6ee39be

Please sign in to comment.