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