1 Star 0 Fork 351

房佩佩/awtk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SConstruct 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
xianjimli 提交于 2020-04-28 18:01 . improve build scripts
import os
import awtk_config as awtk
APP_TOOLS = None
if awtk.TOOLS_NAME != '' :
APP_TOOLS = [awtk.TOOLS_NAME]
DefaultEnvironment(TOOLS = APP_TOOLS,
CCFLAGS = awtk.CCFLAGS,
LIBS = awtk.LIBS,
LIBPATH = awtk.LIBPATH,
CPPPATH = awtk.CPPPATH,
LINKFLAGS = awtk.LINKFLAGS,
TARGET_ARCH=awtk.TARGET_ARCH,
OS_SUBSYSTEM_CONSOLE=awtk.OS_SUBSYSTEM_CONSOLE,
OS_SUBSYSTEM_WINDOWS=awtk.OS_SUBSYSTEM_WINDOWS
)
SConscriptFiles=awtk.NANOVG_BACKEND_PROJS + [
'3rd/cjson/SConscript',
'3rd/nanovg/SConscript',
'3rd/glad/SConscript',
'3rd/gpinyin/SConscript',
'3rd/libunibreak/SConscript',
'3rd/lz4/SConscript',
'3rd/miniz/SConscript',
'src/SConscript',
'src/streams/SConscript',
'src/file_transfer/SConscript',
'src/compressors/SConscript',
'src/ubjson/SConscript',
'tools/common/SConscript',
'tools/theme_gen/SConscript',
'tools/font_gen/SConscript',
'tools/image_gen/SConscript',
'tools/image_resize/SConscript',
'tools/res_gen/SConscript',
'tools/str_gen/SConscript',
'tools/ui_gen/qt_to_xml/SConscript',
'tools/ui_gen/xml_to_ui/SConscript',
'tools/svg_gen/SConscript',
'demos/SConscript',
'tests/SConscript'
] + awtk.OS_PROJECTS
os.environ['TK_ROOT'] = awtk.TK_ROOT;
os.environ['BIN_DIR'] = awtk.TK_BIN_DIR;
os.environ['LIB_DIR'] = awtk.TK_LIB_DIR;
SConscript(SConscriptFiles)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/xiaofangzi_code/awtk.git
git@gitee.com:xiaofangzi_code/awtk.git
xiaofangzi_code
awtk
awtk
master

搜索帮助