mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-12-18 03:31:02 +00:00
13 lines
380 B
Python
13 lines
380 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "rgpio",
|
|
"sources": ["rgpio.cpp"],
|
|
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
|
|
"include_dirs": ["<!@(node -p \"require( 'node-addon-api' ).include\")"],
|
|
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"],
|
|
"libraries": ["-lrgpio"],
|
|
}
|
|
]
|
|
}
|