summaryrefslogtreecommitdiff
path: root/README.md
blob: 7fde27a0c4302269da0325015f5d0f803333a1ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# dng

## Develop

### Dependencies

Current build process is setup for a *nix like environment.

| Dependency | Version |
| :---- |:--------|
| c++   | 20+     |
| g++   | 8+      |
| CMake | 3.20+   |
| Lua   | 5.4.*   |

_Note: with some CMake modifications we could probably leverage lower versions_

### Build

dng uses CMake

```shell
# use a build dir to ensure we ignore build props
cmake -B cmake-build
```

_Developed with CLion using CMake and g++ on Linux_

## Run

Once you build the project you can execute it by:

```shell
# use your build dir and select a map!
./cmake-build/dng ./path/to/map/lvl
```

To launch level 1 for example:

```shell
./cmake-build/dng ./maps/lvl1
```

Note: You need to use the working directory containing the `include` folder!