comparison nodejs/wscript @ 638:683889344459

Skeleton of image loader for nodejs
author Thinker K.F. Li <thinker@branda.to>
date Mon, 26 Jul 2010 09:50:44 +0800
parents 97159102f886
children aa52883534fc
comparison
equal deleted inserted replaced
637:714cd6470bd9 638:683889344459
21 def build(conf): 21 def build(conf):
22 import Utils 22 import Utils
23 23
24 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon') 24 obj = conf.new_task_gen('cxx', 'shlib', 'node_addon')
25 obj.target = 'mbfly' 25 obj.target = 'mbfly'
26 obj.source = 'mbfly_njs.cc coord.cc shapes.cc paints.cc font.cc' 26 obj.source = 'mbfly_njs.cc coord.cc shapes.cc paints.cc font.cc ' + \
27 'image_ldr.cc'
27 obj.add_objects = 'X_supp_njs.o' 28 obj.add_objects = 'X_supp_njs.o'
28 obj.staticlib = 'mbfly' 29 obj.staticlib = 'mbfly'
29 30
30 obj = conf.new_task_gen('cc', 'shlib', 'node_addon') 31 obj = conf.new_task_gen('cc', 'shlib', 'node_addon')
31 obj.target = 'X_supp_njs.o' 32 obj.target = 'X_supp_njs.o'