awtk/SConstruct

58 lines
1.5 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]
2020-12-26 22:24:26 +08:00
awtk.genIdlAndDef();
2019-09-01 17:58:51 +08:00
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,
2020-08-17 10:46:54 +08:00
CPPPATH = awtk.CPPPATH + [awtk.joinPath(awtk.TK_ROOT, 'res')],
2019-09-01 17:58:51 +08:00
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',
2021-03-25 17:16:12 +08:00
'3rd/mbedtls/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',
'3rd/fribidi/SConscript',
2018-03-18 11:29:31 +08:00
'src/SConscript',
2021-01-21 21:52:18 +08:00
'src/csv/SConscript',
2020-06-07 09:50:36 +08:00
'src/conf_io/SConscript',
2021-02-04 13:51:45 +08:00
'src/hal/SConscript',
2019-09-12 12:08:35 +08:00
'src/streams/SConscript',
2021-04-12 09:37:55 +08:00
'src/streams/tools/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-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)