Files
2026-11-27 06:51:43 +03:00

25 lines
815 B
C++

#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 3e254055e081a104f08df68dde39711bc7813518).
// 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