[BUILDSYS]: Update CMake Triplet and Toolchain Naming
This commit is contained in:
9
CMake/Toolchains/wasm32-emscripten-clang.cmake
Normal file
9
CMake/Toolchains/wasm32-emscripten-clang.cmake
Normal file
@ -0,0 +1,9 @@
|
||||
set(CMAKE_SYSTEM_NAME Emscripten)
|
||||
set(CMAKE_SYSTEM_PROCESSOR wasm32)
|
||||
|
||||
include("$ENV{EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake")
|
||||
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
||||
|
||||
string(APPEND CMAKE_C_FLAGS " -msimd128 -pthread")
|
||||
string(APPEND CMAKE_CXX_FLAGS " -msimd128 -pthread")
|
||||
Reference in New Issue
Block a user