File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 113
113
"include_dirs" : [
114
114
"<!@(node utils/find-opencv.js --cflags)" ,
115
115
"<!(node -e \" require('nan')\" )" ,
116
+ "<!(node -e \" require('./include_dirs')\" )"
116
117
],
117
118
118
119
"cflags!" : [ "-fno-exceptions" ],
Original file line number Diff line number Diff line change
1
+ // Outputs the path to public node-opencv header files. This is used when
2
+ // building other native node modules that require access to the
3
+ // node-opencv Matrix base class.
4
+ //
5
+ // To use this file, add something like the following to your binding.gyp:
6
+ //
7
+ // "include_dirs": [
8
+ // "<!@(pkg-config --cflags opencv)",
9
+ // "<!(node -e \"require('nan')\")",
10
+ // "<!(node -e \"require('opencv/include_dirs')\")"
11
+ // ],
12
+ //
13
+ var path = require ( 'path' ) ;
14
+ console . log ( path . relative ( '.' , path . join ( __dirname , 'inc' ) ) ) ;
You can’t perform that action at this time.
0 commit comments