Implemented Asset foundation
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
3
subprojects/packagefiles/assetsys/assetsys.c
Normal file
3
subprojects/packagefiles/assetsys/assetsys.c
Normal file
@@ -0,0 +1,3 @@
|
||||
#define ASSETSYS_IMPLEMENTATION
|
||||
#define STRPOOL_IMPLEMENTATION
|
||||
#include <assetsys.h>
|
||||
16
subprojects/packagefiles/assetsys/meson.build
Normal file
16
subprojects/packagefiles/assetsys/meson.build
Normal file
@@ -0,0 +1,16 @@
|
||||
project('assetsys', 'c',
|
||||
default_options: [
|
||||
'default_library=static',
|
||||
],
|
||||
)
|
||||
|
||||
assetsys_include = include_directories('.')
|
||||
|
||||
# All other targets should follow the same template
|
||||
assetsys_src = files('assetsys.c')
|
||||
assetsys_lib = library('assetsys', assetsys_src, include_directories: assetsys_include)
|
||||
assetsys_dep = declare_dependency(link_with: assetsys_lib, include_directories: assetsys_include)
|
||||
|
||||
if meson.version().version_compare('>= 0.54.0')
|
||||
meson.override_dependency('assetsys', assetsys_dep)
|
||||
endif
|
||||
Reference in New Issue
Block a user