awtk/SConstruct

53 lines
1.4 KiB
Python
Raw Normal View History

2018-02-21 19:36:38 +08:00
import os
2019-02-25 17:45:05 +08:00
import awtk_config as awtk
2019-09-01 17:58:51 +08:00
APP_TOOLS = None
if awtk.TOOLS_NAME != '' :
APP_TOOLS = [awtk.TOOLS_NAME]
DefaultEnvironment(TOOLS = APP_TOOLS,
CCFLAGS = awtk.AWTK_CCFLAGS,
2020-04-28 18:01:07 +08:00
LIBS = awtk.LIBS,
2019-09-01 17:58:51 +08:00
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
)
2018-02-21 19:36:38 +08:00
2019-02-25 17:45:05 +08:00
SConscriptFiles=awtk.NANOVG_BACKEND_PROJS + [
2020-03-18 07:27:19 +08:00
'3rd/cjson/SConscript',
2018-04-13 10:25:58 +08:00
'3rd/nanovg/SConscript',
2018-04-13 13:54:36 +08:00
'3rd/glad/SConscript',
2018-06-24 12:23:51 +08:00
'3rd/gpinyin/SConscript',
2018-07-27 10:50:05 +08:00
'3rd/libunibreak/SConscript',
2019-10-12 07:31:26 +08:00
'3rd/lz4/SConscript',
'3rd/miniz/SConscript',
2018-03-18 11:29:31 +08:00
'src/SConscript',
2019-09-12 12:08:35 +08:00
'src/streams/SConscript',
2019-11-26 09:35:51 +08:00
'src/file_transfer/SConscript',
2019-10-12 17:28:15 +08:00
'src/compressors/SConscript',
2019-09-14 18:16:47 +08:00
'src/ubjson/SConscript',
2018-02-21 19:36:38 +08:00
'tools/common/SConscript',
'tools/theme_gen/SConscript',
'tools/font_gen/SConscript',
'tools/image_gen/SConscript',
2018-07-10 15:59:21 +08:00
'tools/image_resize/SConscript',
2020-05-26 21:38:08 +08:00
'tools/image_dither/SConscript',
2018-04-01 08:13:10 +08:00
'tools/res_gen/SConscript',
2018-05-04 14:52:15 +08:00
'tools/str_gen/SConscript',
2018-10-11 11:24:06 +08:00
'tools/ui_gen/qt_to_xml/SConscript',
2018-04-15 17:58:24 +08:00
'tools/ui_gen/xml_to_ui/SConscript',
2018-11-19 17:31:03 +08:00
'tools/svg_gen/SConscript',
'demos/SConscript',
2018-08-05 11:59:11 +08:00
'tests/SConscript'
2019-02-25 17:45:05 +08:00
] + awtk.OS_PROJECTS
2018-05-10 13:47:39 +08:00
2019-02-25 17:45:05 +08:00
os.environ['TK_ROOT'] = awtk.TK_ROOT;
os.environ['BIN_DIR'] = awtk.TK_BIN_DIR;
os.environ['LIB_DIR'] = awtk.TK_LIB_DIR;
2018-05-10 13:47:39 +08:00
SConscript(SConscriptFiles)