-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1da2e14
commit 099a21d
Showing
1 changed file
with
36 additions
and
28 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,38 @@ | ||
{ | ||
"targets": [ | ||
{ | ||
"target_name": "robotjs", | ||
"include_dirs" : [ | ||
"<!(node -e \"require('nan')\")" | ||
], | ||
"conditions": [ | ||
['OS == "mac"', { | ||
'include_dirs': [ | ||
'System/Library/Frameworks/CoreFoundation.Framework/Headers', | ||
'System/Library/Frameworks/Carbon.Framework/Headers', | ||
'System/Library/Frameworks/ApplicationServices.framework/Headers', | ||
'System/Library/Frameworks/OpenGL.framework/Headers', | ||
], | ||
"link_settings": { | ||
"libraries": [ | ||
"-framework Carbon", | ||
"-framework CoreFoundation", | ||
"-framework ApplicationServices", | ||
"-framework OpenGL" | ||
] | ||
} | ||
} | ||
] | ||
], | ||
"sources": ["src/robotjs.cc", "src/deadbeef_rand.c", "src/mouse.c", "src/keypress.c" , "src/keycode.c", "src/screen.c", "src/screengrab.c", "src/MMBitmap.c"] | ||
} | ||
] | ||
"targets": [{ | ||
"target_name": "robotjs", | ||
"include_dirs": [ | ||
"<!(node -e \"require('nan')\")" | ||
], | ||
|
||
"conditions": [ | ||
["OS == \"mac\"", { | ||
"include_dirs": [ | ||
"System/Library/Frameworks/CoreFoundation.Framework/Headers", | ||
"System/Library/Frameworks/Carbon.Framework/Headers", | ||
"System/Library/Frameworks/ApplicationServices.framework/Headers", | ||
"System/Library/Frameworks/OpenGL.framework/Headers", | ||
], | ||
"link_settings": { | ||
"libraries": [ | ||
"-framework Carbon", | ||
"-framework CoreFoundation", | ||
"-framework ApplicationServices", | ||
"-framework OpenGL" | ||
] | ||
} | ||
}], | ||
], | ||
|
||
"sources": [ | ||
"src/robotjs.cc", | ||
"src/deadbeef_rand.c", | ||
"src/mouse.c", | ||
"src/keypress.c", | ||
"src/keycode.c", | ||
"src/screen.c", | ||
"src/screengrab.c", | ||
"src/MMBitmap.c" | ||
] | ||
}] | ||
} |