Implement VoidBuildSystem v1 (Plans 01-19) with VoidLibrary integration
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
This commit is contained in:
1 parent
3cac890ce9
commit
ab64147f9d
114 files changed
+23777
-1392
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 9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5).
|
||||
// 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