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
|
|
|
|
2021-09-16 16:00:56 +08:00
|
|
|
env['LINKFLAGS'] = env['OS_SUBSYSTEM_WINDOWS'] + env['LINKFLAGS'];
|
|
|
|
|
2020-03-18 21:36:24 +08:00
|
|
|
env.Library(os.path.join(LIB_DIR, 'assets'), ['assets.c']);
|
2021-09-16 16:00:56 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demoui'), ['demo_ui_app.c'], LIBS=['assets'] + env['LIBS']);
|
2018-03-04 08:32:52 +08:00
|
|
|
|
2021-09-16 16:00:56 +08:00
|
|
|
env.Library(os.path.join(LIB_DIR, 'assets_old'), ['assets_old.c']);
|
|
|
|
env['LIBS'] = ['assets_old'] + env['LIBS']
|
2018-03-09 21:54:46 +08:00
|
|
|
|
2020-03-19 11:11:32 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo1'), ['demo1_app.c']);
|
|
|
|
env.Program(os.path.join(BIN_DIR, 'demovg'), ['demo_vg_app.c']);
|
2021-09-16 16:00:56 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demouiold'), ['demo_ui_old_app.c']);
|
2020-03-19 11:11:32 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demotr'), ['demo_tr_app.c']);
|
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_basic'), ['demo_basic.c']);
|
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_thread'), ['demo_thread_app.c']);
|
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_animator'), ['demo_animator_app.c']);
|
2022-12-19 09:29:51 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_window_animator'), ['demo_window_animator.c']);
|
2021-01-25 09:54:04 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_scroll_view'), ['demo_scroll_view.c']);
|
2018-02-21 19:36:38 +08:00
|
|
|
|
2023-11-15 18:08:30 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_5key'), ['demo_5key_app.c']);
|
2018-08-17 12:01:38 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_desktop'), ['demo_desktop.c']);
|
2024-06-27 15:06:29 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_overlay'), ['demo_overlay.c']);
|
2020-03-19 11:11:32 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_file_browser'), ['demo_file_browser.c']);
|
2020-07-10 16:45:18 +08:00
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo_canvas_offline'), ['demo_canvas_offline.c']);
|