feat(translation,ide): add native C driver, Ninja custom commands, CMake CXX_MODULES, and vbs ide integration
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s

This commit is contained in:
faumaray committed 2026-11-27 07:50:54 +03:00
1 parent 5e1916dc5c
commit 6c225c2dff
27 files changed
+3443 -331

No files matched your search

+5
View File
@@ -105,6 +105,7 @@ Void::Build::ProfileContext parse_kv_context(std::string_view text) {
else if (key == "compiler") ctx.compiler = Void::Build::parse_compiler(val);
else if (key == "os") ctx.os = val;
else if (key == "architecture") ctx.architecture = val;
else if (key == "c_standard") ctx.c_standard = Void::Build::parse_c_standard(val);
else if (key == "cxx_standard") ctx.cxx_standard = Void::Build::parse_cxx_standard(val);
else if (key == "lto") ctx.lto = Void::Build::parse_lto_mode(val);
else if (key == "sysroot") ctx.sysroot = val;
@@ -182,6 +183,7 @@ std::string serialize_kv_context(const ProfileContext &ctx) {
out += "compiler=" + std::string{compiler_name(ctx.compiler)} + "\n";
out += "os=" + ctx.os + "\n";
out += "architecture=" + ctx.architecture + "\n";
out += "c_standard=" + std::string{Void::Build::c_standard_name(ctx.c_standard)} + "\n";
out += "cxx_standard=" + std::string{cxx_standard_name(ctx.cxx_standard)} + "\n";
out += "lto=" + std::string{lto_mode_name(ctx.lto)} + "\n";
out += "sysroot=" + ctx.sysroot + "\n";
@@ -629,6 +631,9 @@ discover_profiles(const CompiledDescriptor &descriptor, const FrontendOptions &o
if (auto comp = get_str(*po, "compiler"); comp && !comp->empty()) {
pd.compiler = parse_compiler(*comp);
}
if (auto std_str = get_str(*po, "c_standard"); std_str && !std_str->empty()) {
pd.c_standard = Void::Build::parse_c_standard(*std_str);
}
if (auto std_str = get_str(*po, "cxx_standard"); std_str && !std_str->empty()) {
pd.cxx_standard = parse_cxx_standard(*std_str);
}