Browse Source

Update README.md

master
Martin Vladic 2 years ago
parent
commit
bc11fb34e0
  1. 10
      README.md

10
README.md

@ -14,8 +14,8 @@ First, build the project using EEZ Studio.
sudo apt-get update
sudo apt-get install -y git libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev cmake build-essential libbsd-dev
cd {{projectDirPath}}
mkdir -p build/linux
cd build/linux
mkdir -p Src/build/linux
cd Src/build/linux
cmake ../..
make
```
@ -45,7 +45,7 @@ set SDL2IMAGEDIR=..\SDL2_image-2.0.4
Execute `cmake.bat`:
```
cd {{projectDirPath}}
cd {{projectDirPath}}\Src
.\cmake.bat
```
@ -62,8 +62,8 @@ These instructions are for the Linux.
```
source /path/to/emsdk/emsdk_env.sh
export EMSCRIPTEN=/path/to/emsdk/upstream/emscripten
mkdir -p {{projectDirPath}}/build/emscripten
cd {{projectDirPath}}/build/emscripten
mkdir -p {{projectDirPath}}/Src/build/emscripten
cd {{projectDirPath}}/Src/build/emscripten
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../..
make
```

Loading…
Cancel
Save