awtk/3rd/cairo/SConscript
2018-09-01 07:15:32 +08:00

13 lines
307 B
Python

import os
BIN_DIR=os.environ['BIN_DIR'];
LIB_DIR=os.environ['LIB_DIR'];
sources=Glob('cairo/*.c')
env=DefaultEnvironment().Clone()
env.Library(os.path.join(LIB_DIR, 'cairo'), sources)
env['LIBS'] = ['cairo', 'pixman'] + env['LIBS']
env.Program(os.path.join(BIN_DIR, 'cairo_stars'), ['demos/stars.c']);