Mercurial > MadButterfly
view 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 |
line wrap: on
line source
srcdir = '.' blddir = 'build' VERSION = '0.0.1' def set_options(opt): opt.tool_options('compiler_cxx') pass def configure(conf): import Options conf.check_tool('compiler_cxx') conf.check_tool('node_addon') conf.env.SRCDIR = Options.options.srcdir pass def build(conf): obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') obj.target = 'mbfly' obj.source = 'hello.cc' pass