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
19 lines
498 B
CMake
19 lines
498 B
CMake
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
|
|
${quantum-src}types/linked_list.c)
|
|
|
|
add_executable(test_stuff ${test_stuff-src}main.c)
|
|
|
|
target_link_libraries(test_stuff quantum)
|
|
target_include_directories(test_stuff PUBLIC ${quantum-src})
|