extension work + static library linking

This commit is contained in:
Hunter 2024-09-28 10:16:00 -04:00
parent ffa0f40652
commit b6ee9d0dc3
20 changed files with 568 additions and 131 deletions

View file

@ -21,12 +21,16 @@ void grbc_set_platform(const Platform &platform) {
log_msg(("C++ compiler = " + platform.cxx_compiler).c_str());
log_msg(("C compiler = " + platform.cc_compiler).c_str());
grbc_get_config().platform_config = "in_memory";
}
void grbc_load_platform(const std::string &file_path) {
Platform platform = GState::get().lua.script_file(file_path);
grbc_set_platform(platform);
grbc_get_config().platform_config = file_path;
}
std::string grbc_find_compiler(const std::string &compiler_name) {