Add subprojects

Instead of relying on host system, some dependencies had been added using meson wrap DB and custom meson wrappers.

Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
This commit is contained in:
Piotr Krygier
2026-06-08 20:26:37 +02:00
parent ceb9e365de
commit ca1477b500
20 changed files with 193 additions and 101 deletions
+4 -3
View File
@@ -7,8 +7,9 @@ cc = meson.get_compiler('c')
sdl3_dep = dependency('sdl3',
version : '>=3.4.0')
stb_dep = dependency('stb',
version : '>=2.30.0')
stb = dependency('stb',
fallback: ['stb', 'stb_dep'])
m_dep = cc.find_library('m')
rse_utilities_lib = shared_library(
@@ -17,7 +18,7 @@ rse_utilities_lib = shared_library(
include_directories : ['.'],
dependencies : [
sdl3_dep,
stb_dep,
stb,
m_dep,
],
install : true
-1
View File
@@ -8,7 +8,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vulkan/vulkan_core.h>
#include "SDL3/SDL_log.h"
#include "commons.h"