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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user