diff options
author | Aki <please@ignore.pl> | 2023-01-04 00:59:18 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-01-04 00:59:18 +0100 |
commit | 27ebde39fda0fb18a63f8974aca36a6118a16322 (patch) | |
tree | b6213578ee6c8be1c61097ab4fb1a04faf32bc44 | |
parent | 49571905c06046a9db0e60e063bf48c92fbb73a9 (diff) | |
download | kurator-27ebde39fda0fb18a63f8974aca36a6118a16322.zip kurator-27ebde39fda0fb18a63f8974aca36a6118a16322.tar.gz kurator-27ebde39fda0fb18a63f8974aca36a6118a16322.tar.bz2 |
Added Nlohmann JSON library to dependencies
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | README.md | 22 |
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) @@ -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 |