docs(migration): record the verified VoidLibrary VBS migration trial
This commit is contained in:
1 parent
6cf8c53a02
commit
ce47c23cda
9 files changed
+226
-1
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user