mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
15 lines
533 B
JavaScript
15 lines
533 B
JavaScript
// Outputs the path to public node-opencv header files. This is used when
|
|
// building other native node modules that require access to the
|
|
// node-opencv Matrix base class.
|
|
//
|
|
// To use this file, add something like the following to your binding.gyp:
|
|
//
|
|
// "include_dirs": [
|
|
// "<!@(pkg-config --cflags opencv)",
|
|
// "<!(node -e \"require('nan')\")",
|
|
// "<!(node -e \"require('opencv/include_dirs')\")"
|
|
// ],
|
|
//
|
|
var path = require('path');
|
|
console.log(path.relative('.', path.join(__dirname, 'inc')));
|