From 46188260a83c28565f97e8e310c01d84048e0747 Mon Sep 17 00:00:00 2001 From: Samuel Vishesh Paul Date: Fri, 1 Nov 2024 17:25:15 +0530 Subject: [PATCH] Add TinyLittleURLUtils as a git submodule Include TinyLittleURLUtils in the build by adding it to the CMakeLists.txt. This new submodule will be managed through a .gitmodules configuration. --- .gitmodules | 3 +++ CMakeLists.txt | 2 ++ tiny_libs/TinyLittleURLUtils | 1 + 3 files changed, 6 insertions(+) create mode 100644 .gitmodules create mode 160000 tiny_libs/TinyLittleURLUtils diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a4dfe64 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "tiny_libs/TinyLittleURLUtils"] + path = tiny_libs/TinyLittleURLUtils + url = https://github.com/SeriousSamV/TinyLittleURLUtils.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 9433faa..63caf26 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,8 @@ endif() include(CTest) enable_testing() +add_subdirectory(./tiny_libs/TinyLittleURLUtils) + add_library(tiny_http_server_lib src/tiny_http/tiny_http_server_lib.c src/tiny_http/tiny_http_server_lib.h) add_executable(assert_tiny_http_server_lib test/assert_tiny_http_server_lib.c) diff --git a/tiny_libs/TinyLittleURLUtils b/tiny_libs/TinyLittleURLUtils new file mode 160000 index 0000000..9cd5ef0 --- /dev/null +++ b/tiny_libs/TinyLittleURLUtils @@ -0,0 +1 @@ +Subproject commit 9cd5ef0d74637335f8c4127f39098c8ffc12434c