First draft of memory zone functionality. Can create a zone and allocate you memory from the zone. Also has the ability to clear zones and to free. There is no way yet to free anything that has been allocated on the zones.
13 lines
350 B
CMake
13 lines
350 B
CMake
cmake_minimum_required(VERSION 3.28.1)
|
|
|
|
project(quantum-utils)
|
|
|
|
set(quantum-src "./quantum/src/")
|
|
set(test_stuff-src "./test_stuff/src/")
|
|
|
|
add_library(quantum SHARED ${quantum-src}memory/zone.c)
|
|
add_executable(test_stuff ${test_stuff-src}main.c)
|
|
|
|
target_link_libraries(test_stuff quantum)
|
|
target_include_directories(test_stuff PUBLIC ${quantum-src})
|