comparison nodejs/wscript @ 544:16f4f8305c8f Android_Skia

Start MadButterfly nodejs plugin
author Thinker K.F. Li <thinker@branda.to>
date Fri, 04 Jun 2010 22:29:26 +0800
parents
children 249bcbf07eb0
comparison
equal deleted inserted replaced
543:7630dac0a104 544:16f4f8305c8f
1 srcdir = '.'
2 blddir = 'build'
3 VERSION = '0.0.1'
4
5 def set_options(opt):
6 opt.tool_options('compiler_cxx')
7 pass
8
9 def configure(conf):
10 import Options
11 conf.check_tool('compiler_cxx')
12 conf.check_tool('node_addon')
13 conf.env.SRCDIR = Options.options.srcdir
14 pass
15
16 def build(conf):
17 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon')
18 obj.target = 'mbfly'
19 obj.source = 'hello.cc'
20 pass