refactor-xmake #2

Merged
laentropia merged 5 commits from refactor-xmake into main 2026-06-10 10:30:26 -06:00
2 changed files with 30 additions and 23 deletions
Showing only changes of commit f3a5ecf807 - Show all commits

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")