Added MACOS support

This commit is contained in:
Jon ESA
2026-04-04 11:31:19 +01:00
parent 9671785a14
commit 6e5fd60bc2
2 changed files with 32 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
## ReMote is a WASM Remote Monitor Application ## ReMote is a WASM Remote Monitor Application
### Install ### Install Linux
``` ```
sudo apt update sudo apt update
sudo apt install -y ninja-build python3 build-essential sudo apt install -y ninja-build python3 build-essential
@@ -25,3 +25,34 @@ cmake --build build-wasm
cd build-wasm cd build-wasm
python3 -m http.server 8000 python3 -m http.server 8000
``` ```
### Install MacOS
```
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
source "/Users/tech/code/emsdk/emsdk_env.sh"
(
note if latest does not work use 4.0.7 explicitly.
"your em is built with 5.1........"
./emsdk install 4.0.7
./emsdk activate 4.0.7
source "/Users/tech/code/emsdk/emsdk_env.sh"
)
brew install cmake ninja
cat code/esa-remote/build-mac.sh
/Users/tech/Qt/6.11.0/wasm_singlethread/bin/qt-cmake -S . -B build-wasm -G Ninja
cmake --build build-wasm
cd build-wasm
python3 -m http.server 8000
```

0
build-run.sh Normal file → Executable file
View File