ext_easy impl + demo + fixes

This commit is contained in:
Hunter 2024-09-29 20:21:39 -04:00
parent 1036d97ec6
commit ec26aa89e7
33 changed files with 2796 additions and 40 deletions

13
HConfig
View file

@ -1,13 +1,15 @@
grbc_want_version("1.0")
grbc_ext("GRBC_EXT_pkg_config")
grbc_ext("GRBC_EXT_profiles")
grbc_ext("GRBC_EXT_easy")
local grbc_extensions = grbc_library(LibraryConfig.new({
name = "libgrbc_extensions",
language_type = LanguageType.Cpp,
files = {
grbc_file("src/ext_pkg_config.cc"),
grbc_file("src/ext_profiles.cc")
grbc_file("src/ext_profiles.cc"),
grbc_file("src/ext_easy.cc")
},
lib_type = LibraryType.Static,
@ -82,17 +84,10 @@ local grbc_exe = grbc_executable(ExecutableConfig.new({
grbc_pkg("libgrbc"),
grbc_pkg("libgrbc_extensions")
},
compile_flags = {
},
compile_flags = {},
linker_flags = {},
include_dirs = {}
}))
grbc_task(TaskConfig.new({
name = "Clean build",
task_id = "clean",
shell_script = "ninja -t clean"
}))
-- Output the final build script
grbc_build("ninja")