|
|
|
@ -11,7 +11,7 @@ To report an issue, use the [issues page](https://github.com/eez-open/eez-flow-t
|
|
|
|
|
``` |
|
|
|
|
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}} |
|
|
|
|
cd {{projectName}} |
|
|
|
|
mkdir -p build/linux |
|
|
|
|
cd build/linux |
|
|
|
|
cmake ../.. |
|
|
|
@ -43,11 +43,11 @@ set SDL2IMAGEDIR=..\SDL2_image-2.0.4
|
|
|
|
|
Execute `cmake.bat`: |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
cd {{projectDirPath}} |
|
|
|
|
cd {{projectName}} |
|
|
|
|
.\cmake.bat |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
Visual Studio solution is created in `{{projectDirPath}}\build\win32`. |
|
|
|
|
Visual Studio solution is created in `{{projectName}}\build\win32`. |
|
|
|
|
|
|
|
|
|
Use Visual Studio to build the solution. |
|
|
|
|
|
|
|
|
@ -60,8 +60,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 {{projectName}}/build/emscripten |
|
|
|
|
cd {{projectName}}/build/emscripten |
|
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=../../cmake/Emscripten.cmake -DCMAKE_BUILD_TYPE=Debug -G "Unix Makefiles" ../.. |
|
|
|
|
make |
|
|
|
|
``` |
|
|
|
|