summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--README.md22
2 files changed, 17 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5589259..a3a4775 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_EXTENSIONS No)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic")
find_package(EnTT 3 REQUIRED)
+find_package(nlohmann_json 3 REQUIRED)
find_package(raylib 4 REQUIRED)
add_subdirectory(campaign)
add_subdirectory(contrib)
diff --git a/README.md b/README.md
index f5b57c7..3a94630 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,24 @@
# Building
Third-party libraries used:
- * raylib
* EnTT
+ * nlohmann\_json
+ * raylib
+
+Both Raylib and Nlohmann's JSON libraries are available in mainstream distribution repositories. Confirmed with Arch
+Linux and Ubuntu. In case they are not, you can install Raylib[1] and JSON[2] from source. EnTT is rarely available. For
+Arch Linux you can use AUR package[3]. Otherwise, install from source git repository[4].
+
+After making sure all dependencies are available, run CMake to generate and build:
+
+ $ cmake -B build .
+ $ cd build/
+ $ make
-Raylib is quite popular and should be available in most of the official package repositories. If it is not available on
-your platform, it can be build with CMake and installed from its source git repository[1]. EnTT is rarely available. For
-Arch Linux you can use AUR package[2]. Otherwise, install from source git repository[3].
+Or use any preferred equivalent method.
[1] https://github.com/raysan5/raylib
-[2] https://aur.archlinux.org/packages/entt
-[3] https://github.com/skypjack/entt
+[2] https://github.com/nlohmann/json
+[3] https://aur.archlinux.org/packages/entt
+[4] https://github.com/skypjack/entt