build: add native VoidBuildSystem description (all modules)

This commit is contained in:
Void agent committed 2026-12-05 10:32:24 +03:00
1 parent 0002e74a7d
commit 9f0fa67f56
4 files changed
+243

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include <Void/Build.hpp>
#include <filesystem>
#include <map>
#include <string>
#include <vector>
namespace Void::Build::Recipes {
// Pure native VBS recipe for VoidLibrary (pinned commit 0002e74a7da94a756f55a4a5574d20b77736c185).
// Translates VoidLibrary's module closure directly into native VBS targets without invoking
// CMake or modifying the VoidLibrary source checkout (Plan 18).
struct VoidLibraryTargets {
std::map<std::string, Target, std::less<>> modules;
};
[[nodiscard]] VoidLibraryTargets
add_void_library_native(Project &project, const std::filesystem::path &void_source_dir,
const std::vector<std::string> &enabled_modules = {
"Configuration", "Text", "Unicode", "Async", "Testing"});
} // namespace Void::Build::Recipes