forked from TooTallNate/node-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwscript
More file actions
15 lines (13 loc) · 668 Bytes
/
wscript
File metadata and controls
15 lines (13 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def set_options(opt):
opt.tool_options("compiler_cxx")
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
conf.env.MACOSX_DEPLOYMENT_TARGET = "10.4"
def build(bld):
obj = bld.new_task_gen("cxx", "shlib", "node_addon")
obj.cxxflags = ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall", "-ObjC++", "-F/System/Library/PrivateFrameworks"]
obj.ldflags = ["-F/System/Library/PrivateFrameworks"]
obj.framework = ['Foundation', 'AudioToolbox', 'UIKit', 'CoreFoundation', 'CoreTelephony', 'GraphicsServices']
obj.target = "binding"
obj.source = ["src/binding.cc", "src/graphicServices.cc", "src/telephony.cc"]