File: include_dirs.js

package info (click to toggle)
node-opencv 6.0.0+git20180416.cfc96ba0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 24,632 kB
  • sloc: xml: 476,707; cpp: 5,950; makefile: 114; sh: 59; ansic: 20
file content (14 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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')));