Skip to content

Commit

Permalink
pandering to my OCD - sorry :/
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonOehlman committed Mar 27, 2015
1 parent 1da2e14 commit 099a21d
Showing 1 changed file with 36 additions and 28 deletions.
64 changes: 36 additions & 28 deletions binding.gyp
@@ -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"
]
}]
}

0 comments on commit 099a21d

Please sign in to comment.