Created
March 13, 2018 21:50
-
-
Save nanlabsweb/ebbc7d0c2dd5249b5f833e8a2b845f5d to your computer and use it in GitHub Desktop.
JS native extensions - config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"targets": [ | |
{ | |
"cflags!": [ "-fno-exceptions" ], | |
"cflags_cc!": [ "-fno-exceptions" ], | |
"include_dirs" : [ | |
"<!@(node -p \"require('node-addon-api').include\")" | |
], | |
"target_name": "hello_world", | |
"sources": [ "hello_world.cc" ], | |
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment