Linked List

Added in the first support for a linked list type. It is called a List
type in the library. Have tested the functionality and so far all seems
good
This commit is contained in:
2024-02-14 20:10:40 -05:00
parent 3667b777f2
commit 7d7d671dca
5 changed files with 392 additions and 37 deletions

View File

@@ -2,12 +2,16 @@ cmake_minimum_required(VERSION 3.28.1)
project(quantum-utils)
add_compile_options(-g)
set(quantum-src "./quantum/src/")
set(test_stuff-src "./test_stuff/src/")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_library(quantum SHARED ${quantum-src}memory/zone.c
${quantum-src}logger/logger.c)
add_library(
quantum SHARED ${quantum-src}memory/zone.c ${quantum-src}logger/logger.c
${quantum-src}types/linked_list.c)
add_executable(test_stuff ${test_stuff-src}main.c)
target_link_libraries(test_stuff quantum)