The build dependencies section says to install `lv_font_conv` to the
source directory. But the instructions to download the InfiniSim sources
was after the build dependencies.
Move the "get sources" section before the "build dependencies" to
clairify the instructions.
Fixes: https://github.com/InfiniTimeOrg/InfiniSim/issues/53
@ -9,6 +9,20 @@ Or use it to develop new Watchfaces, new Screens, or quickly iterate on the user
For a history on how this simulator started and the challenges on its way visit the [original PR](https://github.com/InfiniTimeOrg/InfiniTime/pull/743).
For a history on how this simulator started and the challenges on its way visit the [original PR](https://github.com/InfiniTimeOrg/InfiniTime/pull/743).
## Get the Sources
Clone this repository and tell `git` to recursively download the submodules as well
If you've already cloned the repository without the submodules (or you want to update them to the latest checked in version) run the following command:
```sh
git submodule update --init --recursive
```
## Build dependencies
## Build dependencies
- CMake
- CMake
@ -35,26 +49,12 @@ On Fedora the following packages are needed:
sudo dnf install cmake SDL2-devel gcc
sudo dnf install cmake SDL2-devel gcc
```
```
Then install the `lv_font_conv` executable to the source directory (will be installed at `node_modules/.bin/lv_font_conv`)
Then install the `lv_font_conv` executable to the InfiniSim source directory (will be installed at `node_modules/.bin/lv_font_conv`)
```sh
```sh
npm install lv_font_conv@1.5.2
npm install lv_font_conv@1.5.2
```
```
## Get the Sources
Clone this repository and tell `git` to recursively download the submodules as well
If you've already cloned the repository without the submodules (or you want to update them to the latest checked in version) run the following command:
```sh
git submodule update --init --recursive
```
## Configure and Build
## Configure and Build
In the most basic configuration tell cmake to configure the project and build it with the following two commands:
In the most basic configuration tell cmake to configure the project and build it with the following two commands: