awtk/3rd/agge/SConscript

14 lines
496 B
Python
Raw Normal View History

2018-09-19 11:21:12 +08:00
import os
env = DefaultEnvironment().Clone()
LIB_DIR = os.environ['LIB_DIR'];
BIN_DIR = os.environ['BIN_DIR'];
SOURCES = Glob('src/agge/*.cpp')
env.Library(os.path.join(LIB_DIR, 'agge'), SOURCES);
2018-09-21 11:18:22 +08:00
env['LIBS'] = ['agge'] + env['LIBS']
env.Program(os.path.join(BIN_DIR, 'agge_demo_stroke'), Glob('demos/demo_stroke.c'));
env.Program(os.path.join(BIN_DIR, 'agge_demo_fill'), Glob('demos/demo_fill.c'));
env.Program(os.path.join(BIN_DIR, 'agge_demo_draw_image'), Glob('demos/demo_draw_image.c'));