ocoge/local_modules/ocoge_lgpio/binding.gyp

10 lines
403 B
Python

{ "targets":
[ { "target_name" : "ocoge_lgpio"
, "sources" : [ "ocoge_lgpio.cpp" ]
, "defines" : [ "NAPI_DISABLE_CPP_EXCEPTIONS" ]
, "include_dirs" : [ "<!@(node -p \"require( 'node-addon-api' ).include\")" ]
, "dependencies" : ["<!(node -p \"require('node-addon-api').gyp\")"]
, "libraries" : [ "-llgpio" ]
}
]
}