awtk/3rd/svgtiny/SConscript

12 lines
255 B
Python
Raw Normal View History

2022-11-15 11:42:33 +08:00
import os
env = DefaultEnvironment().Clone()
LIB_DIR = os.environ['LIB_DIR'];
BIN_DIR = os.environ['BIN_DIR'];
CPPPATH = ['include'] + env['CPPPATH']
SOURCES = Glob('src/*.c')
env.Library(os.path.join(LIB_DIR, 'svgtiny'), SOURCES, CPPPATH = CPPPATH);