[BUILDSYS]: Update CMake Triplet and Toolchain Naming

This commit is contained in:
2025-12-26 01:38:21 +05:30
parent 2f8f7025db
commit 8a417e1ec2
14 changed files with 34 additions and 31 deletions

View 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")