mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
21 lines
595 B
Python
21 lines
595 B
Python
import os
|
|
|
|
env=DefaultEnvironment().Clone();
|
|
BIN_DIR=os.environ['BIN_DIR'];
|
|
LIB_DIR=os.environ['LIB_DIR'];
|
|
|
|
env.Library(os.path.join(LIB_DIR, 'resource'), ['resource.c']);
|
|
|
|
env['LIBS'] = ['resource'] + env['LIBS']
|
|
env['LINKFLAGS'] = env['OS_SUBSYSTEM_WINDOWS'] + env['LINKFLAGS'];
|
|
|
|
env.Program(os.path.join(BIN_DIR, 'demo1'), ['demo_main.c', 'demo1_app.c']);
|
|
env.Program(os.path.join(BIN_DIR, 'demo2'), ['demo_main.c', 'demo2_app.c']);
|
|
env.Program(os.path.join(BIN_DIR, 'demoui'), ['demo_ui_app.c', 'demo_main.c']);
|
|
|
|
env.Program(os.path.join(BIN_DIR, 'prefix_xml_ui'), ['prefix_xml_ui.c']);
|
|
|
|
|
|
|
|
|