We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb889a1 commit c7deb34Copy full SHA for c7deb34
1 file changed
blog/26-04-16/node-gyp-always-on-top/ex/binding.gyp
@@ -1,18 +1,16 @@
1
{
2
- "targets" : [
+ "targets": [
3
4
- "target_name" : "always-on-top",
5
- "sources" : ["always-on-top.cpp"],
6
-
7
- "include_dirs" : ["node_modules/node-addon-api"],
8
9
- "dependencies" : ["<!(node -p \"require('node-addon-api').gyp\")"],
10
11
- "defines" : ["NODE_ADDON_API_CPP_EXCEPTIONS"],
12
- "cflags_cc" : ["-std=c++17"]
+ "target_name": "always-on-top",
+ "sources": [ "always-on-top.cpp" ],
+ "include_dirs": [
+ "<!(node -p \"require('node-addon-api').include\")"
+ ],
+ "dependencies": [
+ "<!(node -p \"require('node-addon-api').gyp\")"
+ "defines": [ "NODE_ADDON_API_CPP_EXCEPTIONS" ],
13
+ "cflags_cc": [ "-std=c++17" ]
14
}
15
]
-}
16
17
18
+}
0 commit comments