diff --git a/.dockcross-arm64 b/.dockcross-arm64 deleted file mode 100644 index e69de29..0000000 diff --git a/CMakeLists.txt b/CMakeLists.txt index 176de9d..01d06e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,16 @@ cmake_minimum_required(VERSION 3.10) project(simple_object_storage) +# Set the build type to Debug +#set(CMAKE_BUILD_TYPE Debug CACHE STRING "Build type (e.g., Debug, Release)" FORCE) + set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) +# Linking flags (removed -static) +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") +set(BUILD_SHARED_LIBS OFF) + # Find all source files in src directory file(GLOB_RECURSE SOURCES "src/*.cpp" @@ -25,7 +32,7 @@ include_directories( # Create executable add_executable(simple_object_storage ${SOURCES}) -# Link libraries (CMake should find static versions now) +# Remove specific static flags as CMAKE_EXE_LINKER_FLAGS handles it now target_link_libraries(simple_object_storage )