'Generic Commit'
Some checks failed
Build-Test-Publish / Build (push) Failing after 36s

This commit is contained in:
Your Name
2025-06-02 00:44:31 +12:00
parent d8e15f3f19
commit 72af459e73
2 changed files with 6 additions and 3 deletions

View File

@@ -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
)

View File

@@ -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 {