mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve build scripts
This commit is contained in:
parent
bed979ecfa
commit
1899ef7b31
@ -1,6 +1,9 @@
|
||||
# 最新动态
|
||||
2022/08/17
|
||||
* 完善conf\_xml,支持通过@text访问文本内容。
|
||||
* 修复编译警告(感谢智明提供补丁)
|
||||
* 完善编译脚本(感谢智明提供补丁)
|
||||
|
||||
2022/08/16
|
||||
* 完善grid(感谢雨欣提供补丁)
|
||||
|
||||
|
@ -252,6 +252,8 @@ class AppHelperBase:
|
||||
self.AWFLOW_ROOT = AWFLOW_ROOT
|
||||
print("AWFLOW_ROOT: " + self.AWFLOW_ROOT)
|
||||
|
||||
if self.TKC_ONLY :
|
||||
self.set_tkc_only()
|
||||
self.parseArgs(self.awtk, ARGUMENTS)
|
||||
|
||||
print("AWTK_ROOT: " + self.AWTK_ROOT)
|
||||
@ -440,6 +442,7 @@ class AppHelperBase:
|
||||
self.AWTK_CCFLAGS = awtk.AWTK_CCFLAGS
|
||||
|
||||
if self.isBuildShared():
|
||||
if not self.TKC_ONLY :
|
||||
self.AWTK_LIBS = awtk.SHARED_LIBS
|
||||
self.APP_LIBPATH = [self.APP_BIN_DIR, self.APP_LIB_DIR]
|
||||
|
||||
@ -448,9 +451,9 @@ class AppHelperBase:
|
||||
|
||||
os.environ['BUILD_SHARED'] = str(self.isBuildShared())
|
||||
if LCD_ORIENTATION == '90' or LCD_ORIENTATION == '270' :
|
||||
print(LCD_WIDTH, LCD_HEIGHT, "orentation_" + LCD_ORIENTATION)
|
||||
else :
|
||||
print(LCD_HEIGHT, LCD_WIDTH, "orentation_" + LCD_ORIENTATION)
|
||||
else :
|
||||
print(LCD_WIDTH, LCD_HEIGHT, "orentation_" + LCD_ORIENTATION)
|
||||
|
||||
def prepare(self):
|
||||
if self.GEN_IDL_DEF and not self.LINUX_FB:
|
||||
|
Loading…
Reference in New Issue
Block a user