Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
21 changes: 21 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.22621.0",
"compilerPath": "cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64"
}
],
"version": 4
}
Binary file added CMakeFiles/.DS_Store
Binary file not shown.
16 changes: 0 additions & 16 deletions CMakeFiles/CMakeDirectoryInformation.cmake

This file was deleted.

171 changes: 0 additions & 171 deletions CMakeFiles/Makefile.cmake

This file was deleted.

10 changes: 7 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,17 @@ add_library(storage_logic
storage/freelist_page.cpp
)

add_library(index_logic
index/b_plus_tree.cpp
)

# This is the "Magic Fix": It tells CMake that the project root
# is where searches for "common/..." or "storage/..." should start.
target_include_directories(storage_logic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

target_include_directories(index_logic PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
# --- 3. Main Executable ---
add_executable(Storage main.cpp)
target_link_libraries(Storage PRIVATE storage_logic)
add_executable(storage_viz tests/storage_viz.cpp)
target_link_libraries(storage_viz PRIVATE storage_logic)

# --- 4. Testing Setup ---
enable_testing()
Expand Down
8 changes: 4 additions & 4 deletions build/CMakeFiles/3.28.3/CMakeSystem.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
set(CMAKE_HOST_SYSTEM "Linux-6.8.0-107-generic")
set(CMAKE_HOST_SYSTEM "Linux-6.8.0-110-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.8.0-107-generic")
set(CMAKE_HOST_SYSTEM_VERSION "6.8.0-110-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "aarch64")



set(CMAKE_SYSTEM "Linux-6.8.0-107-generic")
set(CMAKE_SYSTEM "Linux-6.8.0-110-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "6.8.0-107-generic")
set(CMAKE_SYSTEM_VERSION "6.8.0-110-generic")
set(CMAKE_SYSTEM_PROCESSOR "aarch64")

set(CMAKE_CROSSCOMPILING "FALSE")
Expand Down
Loading