-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSConstruct
42 lines (38 loc) · 1.02 KB
/
SConstruct
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import os
import scripts.app_helper as app
DEPENDS_LIBS = [
{
"root" : '../awtk-restful-httpd',
'shared_libs': ['httpd'],
'static_libs': []
},
{
"root" : '../awtk-ui-automation',
'shared_libs': ['ui_automation'],
'static_libs': []
},
{
"root" : '../awtk-widget-table-view',
'shared_libs': ['table_view'],
'static_libs': []
},
{
"root" : '../awtk-widget-table-view-mvvm',
'shared_libs': ['table_view_mvvm'],
'static_libs': []
},
{
"root" : '../awtk-widget-slidable-row',
'shared_libs': ['slidable_row'],
'static_libs': []
}
]
APP_SRC = os.path.normpath(os.path.join(os.getcwd(), 'src'))
APP_CPPPATH = [
os.path.join(APP_SRC, 'common'),
os.path.join(APP_SRC, 'view_models'),
]
ARGUMENTS['WITH_MVVM'] = 'true'
helper = app.Helper(ARGUMENTS);
helper.set_dll_def('src/app_base.def').set_deps(DEPENDS_LIBS).add_cpppath(APP_CPPPATH).call(DefaultEnvironment)
helper.SConscript(['src/SConscript', 'tests/SConscript'])