ocoge/local_modules/ocoge_pigpiod/binding.gyp
2020-01-21 16:10:10 +09:00

10 lines
421 B
Python

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