Added README
This commit is contained in:
22
README.MD
Normal file
22
README.MD
Normal file
@@ -0,0 +1,22 @@
|
||||
sudo apt update
|
||||
sudo apt install -y ninja-build python3 build-essential
|
||||
|
||||
cd ~
|
||||
git clone https://github.com/emscripten-core/emsdk.git
|
||||
cd emsdk
|
||||
export EMSDK_KEEP_DOWNLOADS=1
|
||||
curl -L https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/2ce4170cef5ce46f337f9fd907b614a8db772c7d/wasm-binaries.tar.xz -o downloads/2ce4170cef5ce46f337f9fd907b614a8db772c7d-wasm-binaries.tar.xz
|
||||
./emsdk install 3.1.50
|
||||
./emsdk activate 3.1.50
|
||||
source ./emsdk_env.sh
|
||||
|
||||
echo "$EMSDK"
|
||||
em++ --version
|
||||
ninja --version
|
||||
|
||||
/home/user/Qt/6.7.3/wasm_singlethread/bin/qt-cmake -S . -B build-wasm -G Ninja
|
||||
cmake --build build-wasm
|
||||
|
||||
cd build-wasm
|
||||
python3 -m http.server 8000
|
||||
|
||||
Reference in New Issue
Block a user