node-gyp is a build generator for node addon development, similar to cmake. However, it's default for node and requires fewer configuration.
Set variables
{
"variables": {
"heads_sdk_ver": "1.23"
},
"targets": [
{
'libraries': [
"<(module_root_dir)/heads-cpp-sdk/lib/Release/libnats_framework.so.<(heads_sdk_ver)",
]
}
]
}
Set