mirror of
https://github.com/eez-open/eez-flow-template-stm32f469i-disco.git
synced 2026-11-17 04:48:55 +01:00
update README.md
This commit is contained in:
parent
283b7f69d5
commit
5bea2e788d
10
README.md
10
README.md
@ -13,7 +13,7 @@ First, build the project using EEZ Studio.
|
|||||||
```
|
```
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y git libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev cmake build-essential libbsd-dev
|
sudo apt-get install -y git libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev cmake build-essential libbsd-dev
|
||||||
cd {{projectName}}
|
cd {{projectDirPath}}
|
||||||
mkdir -p build/linux
|
mkdir -p build/linux
|
||||||
cd build/linux
|
cd build/linux
|
||||||
cmake ../..
|
cmake ../..
|
||||||
@ -45,11 +45,11 @@ set SDL2IMAGEDIR=..\SDL2_image-2.0.4
|
|||||||
Execute `cmake.bat`:
|
Execute `cmake.bat`:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd {{projectName}}
|
cd {{projectDirPath}}
|
||||||
.\cmake.bat
|
.\cmake.bat
|
||||||
```
|
```
|
||||||
|
|
||||||
Visual Studio solution is created in `{{projectName}}\Src\build\win32`.
|
Visual Studio solution is created in `{{projectDirPath}}\Src\build\win32`.
|
||||||
|
|
||||||
Use Visual Studio to build the solution.
|
Use Visual Studio to build the solution.
|
||||||
|
|
||||||
@ -62,8 +62,8 @@ These instructions are for the Linux.
|
|||||||
```
|
```
|
||||||
source /path/to/emsdk/emsdk_env.sh
|
source /path/to/emsdk/emsdk_env.sh
|
||||||
export EMSCRIPTEN=/path/to/emsdk/upstream/emscripten
|
export EMSCRIPTEN=/path/to/emsdk/upstream/emscripten
|
||||||
mkdir -p {{projectName}}/build/emscripten
|
mkdir -p {{projectDirPath}}/build/emscripten
|
||||||
cd {{projectName}}/build/emscripten
|
cd {{projectDirPath}}/build/emscripten
|
||||||
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../..
|
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../..
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user