Update README.md

This commit is contained in:
Dethrace Engineering Department 2024-07-05 20:29:45 +12:00 committed by GitHub
parent d5d38c86ac
commit 8751f63695
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 1 deletions

View File

@ -67,6 +67,13 @@ export DETHRACE_ROOT_DIR=/path/to/carmageddon
## Build
Dethrace uses git submodules, so we must pull them after the inital clone:
```sh
git clone https://github.com/dethrace-labs/dethrace
cd dethrace
git submodule update --init --recursive
```
Dethrace uses [cmake](https://cmake.org/) for generating build files.
To generate the build files (generally only required once):
@ -76,7 +83,7 @@ cd build
cmake ..
```
On cmake has generated the build files for your platform, run the build. For example:
Once cmake has generated the build files for your platform, run the build. For example:
```sh
make
```