refactor: changed to xmake, added lae_allocator dep

This commit is contained in:
2026-06-06 09:15:59 -06:00
parent 203b60cf65
commit f3a5ecf807
2 changed files with 30 additions and 23 deletions

View File

@@ -1,4 +1,5 @@
#include "lae_arena.h"
#include "lae_allocator.h"
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

View File

@@ -31,7 +31,11 @@ option_end()
-- Packages
-- =========================================================
-- Run xmake repo --add lae-repo https://laentropia-homelab.tail7368da.ts.net/laentropia/xmake-repo.git
-- to add my repo :)
add_requires("cmocka", { optional = true }) -- For tests
add_requires("lae_allocator")
-- =========================================================
-- Library
@@ -40,6 +44,8 @@ add_requires("cmocka", { optional = true }) -- For tests
target("lae_arena")
set_kind("static")
add_packages("lae_allocator")
add_files("src/lae_arena.c")
add_headerfiles("include/*.h")