awtk/demos/SConscript

24 lines
860 B
Python
Raw Normal View History

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-05-27 11:52:44 +08:00
env.Program(os.path.join(BIN_DIR, 'demovg'), ['demo_main.c', 'demo_vg_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-05-15 15:55:30 +08:00
env.Program(os.path.join(BIN_DIR, 'demo_animator'), ['demo_animator_app.c', 'demo_main.c']);
2018-05-18 17:42:13 +08:00
env.Program(os.path.join(BIN_DIR, 'demo_thread'), ['demo_thread_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