From b7fce68144aadcc4cc1c4323bf956b572dbe06c3 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Tue, 8 Feb 2022 22:52:21 +0100 Subject: [PATCH] Meta: Add JSON parsing library dependency --- .gitmodules | 3 +++ CMakeLists.txt | 1 + vendor/json | 1 + 3 files changed, 5 insertions(+) create mode 100644 .gitmodules create mode 160000 vendor/json diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..44fa617 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/json"] + path = vendor/json + url = https://github.com/nlohmann/json diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aa7712..2217669 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,6 +56,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) include_directories( "src" "test" + "vendor/json/include" ) # Define source files diff --git a/vendor/json b/vendor/json new file mode 160000 index 0000000..eec79d4 --- /dev/null +++ b/vendor/json @@ -0,0 +1 @@ +Subproject commit eec79d4e8a306d0dc389d6ab7294478249069e51