wasm-micro-runtime/core/iwasm/runtime/wasmtime-wasi-c/wasi.cmake
Weining 27f246b5f3 Enable WASI feature, enhance security and add SGX sample (#142)
Change emcc to clang
Refine interpreter to improve perforamnce
2019-11-20 21:16:36 +08:00

13 lines
493 B
CMake

# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
set (WASI_LIB_DIR ${CMAKE_CURRENT_LIST_DIR})
if (WASM_ENABLE_WASI EQUAL 1)
include_directories(${WASI_LIB_DIR}/sandboxed-system-primitives/include
${WASI_LIB_DIR}/sandboxed-system-primitives/src
)
file (GLOB_RECURSE source_all ${WASI_LIB_DIR}/sandboxed-system-primitives/*.c )
set (WASI_LIB_SOURCE ${source_all})
endif ()