-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSConscript
More file actions
21 lines (17 loc) · 818 Bytes
/
SConscript
File metadata and controls
21 lines (17 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Copyright (c) 2021, RT-Thread Development Team
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
import os
from building import *
cwd = GetCurrentDir()
WAMR_APP_FRAMEWORK_ROOT_DIR = os.path.join(cwd)
APP_MGR_DIR = os.path.join(WAMR_APP_FRAMEWORK_ROOT_DIR, 'app-mgr')
APP_FRAMEWORK_DIR = os.path.join(WAMR_APP_FRAMEWORK_ROOT_DIR, 'app-framework')
SHARED_DIR = os.path.join(WAMR_APP_FRAMEWORK_ROOT_DIR, 'deps', 'wasm-micro-runtime', 'core', 'shared')
if GetDepend(['WAMR_BUILD_APP_FRAMEWORK']):
objs += SConscript(os.path.join(APP_FRAMEWORK_DIR, 'SConscript'))
objs += SConscript(os.path.join(SHARED_DIR, 'coap', 'SConscript'))
objs += SConscript(os.path.join(APP_MGR_DIR, 'app-manager', 'SConscript'))
objs += SConscript(os.path.join(APP_MGR_DIR, 'app-mgr-shared', 'SConscript'))