mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve app_helper_base
This commit is contained in:
parent
fa40fb73d7
commit
6ad174c744
@ -1,5 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2021/10/11
|
||||
* 完善app\_help\_base,修复mvvm-js项目编译时找不到jerryscript路径的问题(感谢雨欣提供补丁)
|
||||
|
||||
2021/10/09
|
||||
* 修复拖拽控件在拖拽时且控件不移动时,没有发送drag事件(感谢兆坤提供补丁)
|
||||
|
||||
|
@ -456,6 +456,7 @@ class AppHelperBase:
|
||||
|
||||
if self.MVVM_ROOT:
|
||||
if self.WITH_JERRYSCRIPT:
|
||||
MVVM_3RD_ROOT = join_path(self.MVVM_ROOT, '3rd')
|
||||
DEPENDS_LIBS += [{
|
||||
'cxxflags': '-DWITH_MVVM -DWITH_JERRYSCRIPT',
|
||||
'cflags': '-DWITH_MVVM -DWITH_JERRYSCRIPT',
|
||||
@ -464,6 +465,10 @@ class AppHelperBase:
|
||||
'shared_libs': ['mvvm'],
|
||||
'static_libs': ['']
|
||||
}]
|
||||
CPPPATH += [
|
||||
join_path(MVVM_3RD_ROOT, 'jerryscript/jerryscript/jerry-ext/include'),
|
||||
join_path(MVVM_3RD_ROOT, 'jerryscript/jerryscript/jerry-core/include'),
|
||||
]
|
||||
else:
|
||||
DEPENDS_LIBS += [{
|
||||
'cxxflags': '-DWITH_MVVM',
|
||||
|
Loading…
Reference in New Issue
Block a user