mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 20:18:22 +08:00
15 lines
310 B
Python
15 lines
310 B
Python
import os
|
|
import sys
|
|
|
|
env=DefaultEnvironment().Clone()
|
|
BIN_DIR=os.environ['BIN_DIR'];
|
|
LIB_DIR=os.environ['LIB_DIR'];
|
|
|
|
env.Library(os.path.join(LIB_DIR, 'str_gen'), ["xml_str_gen.cc", "str_gen.cc"])
|
|
env['LIBS'] = ['str_gen', 'common'] + env['LIBS']
|
|
|
|
env.Program(os.path.join(BIN_DIR, 'strgen'), ['main.cc'])
|
|
|
|
|
|
|