summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-06-17 12:30:38 -0400
committerSteph Enders <smenders@gmail.com>2022-06-17 12:34:24 -0400
commit7d1b2c96780f2ffb08a97420fac2794a264c764d (patch)
tree5701e34c57926c3fb84cd5fb6d7e084d85c34a12 /README.md
parentd58d43fa0fd49145cd04a7a6027e6ee754adfa0a (diff)
Add readme and ignore build files
Diffstat (limited to 'README.md')
-rw-r--r--README.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..7fde27a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,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!