Enable runtime API exposure for MSVC builds (#4287)

This commit is contained in:
liang.he
2025-05-28 20:30:05 +08:00
committed by GitHub
parent 3ab9f84026
commit 3580d1a386
5 changed files with 8 additions and 7 deletions

View File

@ -16,8 +16,6 @@ set (CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
set(CMAKE_CXX_STANDARD 17)
add_definitions(-DCOMPILING_WASM_RUNTIME_API=1)
# Set WAMR_BUILD_TARGET, currently values supported:
# "X86_64", "AMD_64", "X86_32", "AARCH64[sub]", "ARM[sub]", "THUMB[sub]", "MIPS", "XTENSA"
if (NOT DEFINED WAMR_BUILD_TARGET)