From 72af459e73fd93b02701ef15b64e7793445129bc Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 2 Jun 2025 00:44:31 +1200 Subject: [PATCH] 'Generic Commit' --- CMakeLists.txt | 7 ++++--- src/server.hpp | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d20d3c7..94655ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 3.10) project(simple_object_storage) +set(PROJECT_EXE_NAME simple_object_storage) # Set the build type to Debug #set(CMAKE_BUILD_TYPE Debug CACHE STRING "Build type (e.g., Debug, Release)" FORCE) @@ -48,13 +49,13 @@ include_directories( ) # Create executable -add_executable(simple_object_storage ${SOURCES}) +add_executable(${PROJECT_EXE_NAME} ${SOURCES}) # Remove specific static flags as CMAKE_EXE_LINKER_FLAGS handles it now -target_link_libraries(simple_object_storage +target_link_libraries(${PROJECT_EXE_NAME} ) # Install target -install(TARGETS simple_object_storage +install(TARGETS ${PROJECT_EXE_NAME} RUNTIME DESTINATION bin ) \ No newline at end of file diff --git a/src/server.hpp b/src/server.hpp index dcb889d..41e5060 100644 --- a/src/server.hpp +++ b/src/server.hpp @@ -8,6 +8,8 @@ #include "database.hpp" #include "config.hpp" #include "rate_limiter.hpp" +#include "put_handler.hpp" +#include "update_handler.hpp" namespace simple_object_storage {