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

+2 -1
View File
@@ -14,7 +14,7 @@ The SDK uses namespace `Void::Build`, `PascalCase` types/enum constants, and `sn
`Profiles` supports:
- `add(name, compile_options)`
- `inherit(name, parent, compile_options)`
- `define(ProfileDescription)` (supports `compile_options`, `link_options`, `defines`, `parent`, `compiler`, `cxx_standard`, `lto`, `sanitizers`, `sysroot`, `compiler_path`, `reproducibility_epoch`, `nondeterministic`)
- `define(ProfileDescription)` (supports `compile_options`, `link_options`, `defines`, `parent`, `compiler`, `c_standard`, `cxx_standard`, `lto`, `sanitizers`, `sysroot`, `compiler_path`, `reproducibility_epoch`, `nondeterministic`)
- `resolve(name, compiler_or_opt, os, architecture)` -> returns an immutable `ProfileContext`, throwing `std::invalid_argument` on unknown profile names, missing parents, or profile inheritance cycles.
## Targets and Usage Requirements
@@ -44,6 +44,7 @@ Target names must be nonempty and unique per `Project`. Operations validate inpu
| `.link_option(opt, visibility)` | Scoped linker flags |
| `.link(Target\|ImportedTarget, visibility)` | Local or foreign imported library links (`Visibility::Private`, `Public`, `Interface`) |
| `.depends_on(Target)` | Explicit action prerequisite ordering (for example, codegen producer before consumer) |
| `.c_standard(CStandard)` | `Default`, `C11`, `C17`, `C23` (used with `gcc`/`clang` C driver for `.c` sources) |
| `.cxx_standard(CxxStandard)` | `Default`, `Cxx17`, `Cxx20`, `Cxx23`, `Cxx26` |
| `.precompiled_header(path)` / `.unity_build(enabled, batch_size)` | PCH and deterministic unity batching |
| `.lto(LtoMode)` / `.sanitizer(Sanitizer)` | `LtoMode::None\|Full\|Thin`; `Sanitizer::Address\|Undefined\|Thread\|Memory\|Leak` |