Packages

Duskmoon fork of QuickBEAM — JavaScript runtime for the BEAM with Web APIs backed by OTP.

Current section

Files

Jump to
duskmoon_quickbeam priv c_src wamr interpreter SConscript
Raw

priv/c_src/wamr/interpreter/SConscript

#
# Copyright (c) 2021, RT-Thread Development Team
#
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#
from building import *
cwd = GetCurrentDir()
src = Split('''
wasm_runtime.c
''')
if GetDepend(['WAMR_BUILD_FAST_INTERP']):
src += ["wasm_interp_fast.c"]
else:
src += ["wasm_interp_classic.c"]
if GetDepend(['WAMR_BUILD_MINI_LOADER']):
src += ["wasm_mini_loader.c"]
else:
src += ["wasm_loader.c"]
CPPPATH = [cwd]
group = DefineGroup('iwasm_interpreter', src, depend = [''], CPPPATH = CPPPATH)
Return('group')