mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-23 16:19:47 +00:00
13 lines
396 B
Plaintext
13 lines
396 B
Plaintext
|
{
|
||
|
"targets": [
|
||
|
{
|
||
|
"target_name": "pigpio",
|
||
|
"sources": ["pigpio.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"],
|
||
|
}
|
||
|
]
|
||
|
}
|