2018-02-21 19:36:38 +08:00
|
|
|
import os
|
|
|
|
|
|
|
|
env=DefaultEnvironment().Clone();
|
2018-03-18 11:29:31 +08:00
|
|
|
BIN_DIR=os.environ['BIN_DIR'];
|
|
|
|
LIB_DIR=os.environ['LIB_DIR'];
|
2018-03-04 08:32:52 +08:00
|
|
|
|
2018-03-18 11:29:31 +08:00
|
|
|
env.Library(os.path.join(LIB_DIR, 'resource'), ['resource.c']);
|
2018-03-04 08:32:52 +08:00
|
|
|
|
2018-03-18 11:29:31 +08:00
|
|
|
env['LIBS'] = ['resource'] + env['LIBS']
|
2018-02-21 19:36:38 +08:00
|
|
|
env['LINKFLAGS'] = env['OS_SUBSYSTEM_WINDOWS'] + env['LINKFLAGS'];
|
2018-03-09 21:54:46 +08:00
|
|
|
|
2018-03-18 11:29:31 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo1'), ['demo_main.c', 'demo1_app.c']);
|
2018-03-19 07:19:25 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo2'), ['demo_main.c', 'demo2_app.c']);
|
2018-03-18 11:29:31 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demoui'), ['demo_ui_app.c', 'demo_main.c']);
|
2018-05-04 14:52:15 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demotr'), ['demo_tr_app.c', 'demo_main.c']);
|
2018-02-21 19:36:38 +08:00
|
|
|
|
2018-03-18 11:29:31 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'prefix_xml_ui'), ['prefix_xml_ui.c']);
|
2018-03-24 21:37:40 +08:00
|
|
|
|
2018-03-11 11:26:12 +08:00
|
|
|
|
2018-02-21 19:36:38 +08:00
|
|
|
|
|
|
|
|