2018-02-21 19:36:38 +08:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
env=DefaultEnvironment().Clone()
|
2018-03-18 11:29:31 +08:00
|
|
|
BIN_DIR=os.environ['BIN_DIR'];
|
|
|
|
LIB_DIR=os.environ['LIB_DIR'];
|
2018-02-21 19:36:38 +08:00
|
|
|
|
2018-03-18 11:29:31 +08:00
|
|
|
env.Library(os.path.join(LIB_DIR, 'theme_gen'), ['theme_gen.cc', 'xml_theme_gen.cc'])
|
|
|
|
env['LIBS'] = ['theme_gen', 'common'] + env['LIBS'];
|
2019-03-20 09:34:25 +08:00
|
|
|
env['LINKFLAGS'] = env['OS_SUBSYSTEM_CONSOLE'] + env['LINKFLAGS'];
|
2018-05-04 11:45:09 +08:00
|
|
|
|
2018-03-18 11:29:31 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'themegen'), ['main.cc'])
|
2018-02-21 19:36:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
|