Added the ability to free data from a zone. Also made some fixes to make sure that our numbers format properly in print statements.
14 lines
388 B
CMake
14 lines
388 B
CMake
cmake_minimum_required(VERSION 3.28.1)
|
|
|
|
project(quantum-utils)
|
|
|
|
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)
|
|
add_executable(test_stuff ${test_stuff-src}main.c)
|
|
|
|
target_link_libraries(test_stuff quantum)
|
|
target_include_directories(test_stuff PUBLIC ${quantum-src})
|