Skip to content

Commit

Permalink
Switch from libcurl to libcpr
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuOfficial committed Apr 1, 2024
1 parent 8766417 commit 3a1541a
Show file tree
Hide file tree
Showing 39 changed files with 25,026 additions and 783 deletions.
246 changes: 0 additions & 246 deletions .clang-format

This file was deleted.

8 changes: 0 additions & 8 deletions .clang-tidy

This file was deleted.

7 changes: 4 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[submodule "lib/curl"]
path = lib/curl
url = https://github.com/curl/curl.git
[submodule "lib/json-c"]
path = lib/json-c
url = https://github.com/json-c/json-c.git
[submodule "lib/libarchive"]
path = lib/libarchive
url = https://github.com/libarchive/libarchive.git
[submodule "lib/cpr"]
path = lib/cpr
url = https://github.com/libcpr/cpr.git
branch = 1.9.x
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.12)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_BUILD_TYPE "Release")

Expand Down Expand Up @@ -49,7 +51,7 @@ add_compile_definitions(DISCORD_CLIENT_ID=${DISCORD_CLIENT_ID})
enable_testing()

add_subdirectory(lib/json-c)
add_subdirectory(lib/curl)
add_subdirectory(lib/cpr)
add_subdirectory(lib/libarchive)

add_subdirectory(src)
1 change: 1 addition & 0 deletions lib/cpr
Submodule cpr added at cf662d
1 change: 0 additions & 1 deletion lib/curl
Submodule curl deleted from a5c862
Loading

0 comments on commit 3a1541a

Please sign in to comment.