work on dynamic extensions

This commit is contained in:
Hunter 2024-09-30 20:15:34 -04:00
parent 8b1c5b9073
commit b3a326720b
22 changed files with 282 additions and 165 deletions

18
fusion_ext/HConfig Normal file
View file

@ -0,0 +1,18 @@
local grbc_extensions = grbc_library(LibraryConfig.new({
name = "libfusion",
language_type = LanguageType.Cpp,
files = {
grbc_file("src/ext_fusion.cc")
},
lib_type = LibraryType.Shared,
requirements = {},
compile_flags = {},
linker_flags = {},
include_dirs = {
"../vendor/sol2/include"
}
}))
grbc_build("ninja")