Fix compile warnings on windows platform: dll linkage and others (#604)

This commit is contained in:
Wenyong Huang
2021-04-09 14:55:58 +08:00
committed by GitHub
parent 77c3ddf7d0
commit dfe52ab42f
9 changed files with 66 additions and 53 deletions

View File

@ -10,6 +10,7 @@ if (NOT WAMR_BUILD_PLATFORM STREQUAL "windows")
else()
project (aot-compiler C ASM CXX)
enable_language (ASM_MASM)
add_definitions(-DCOMPILING_WASM_RUNTIME_API=1)
endif()
set (CMAKE_CXX_STANDARD 14)