Added MACOS support
This commit is contained in:
33
README.MD
33
README.MD
@@ -1,7 +1,7 @@
|
||||
## ReMote is a WASM Remote Monitor Application
|
||||
|
||||
|
||||
### Install
|
||||
### Install Linux
|
||||
```
|
||||
sudo apt update
|
||||
sudo apt install -y ninja-build python3 build-essential
|
||||
@@ -25,3 +25,34 @@ cmake --build build-wasm
|
||||
cd build-wasm
|
||||
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
0
build-run.sh
Normal file → Executable file
Reference in New Issue
Block a user