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,20 @@
|
||||
// Native VoidBuildSystem description for VoidLibrary itself (migration trial).
|
||||
// The module closure is declared in build-support/vl/VoidLibraryModules.{hpp,cpp}.
|
||||
#include "build-support/vl/VoidLibraryModules.hpp"
|
||||
|
||||
void build(Void::Build::Project &project) {
|
||||
const auto &ctx = project.context();
|
||||
(void)ctx;
|
||||
|
||||
auto libs = Void::Build::Recipes::add_void_library_native(project, ".",
|
||||
{"Configuration", "Text", "Unicode",
|
||||
"Async", "Algorithms", "Crypto",
|
||||
"Archive", "Testing", "Log"});
|
||||
|
||||
// Smoke test exercising the native VoidLibrary closure through VBS.
|
||||
auto smoke = project.test("void_smoke");
|
||||
smoke.cxx_standard(Void::Build::CxxStandard::Cxx26)
|
||||
.sources({"tests/vl/smoke.cpp"})
|
||||
.link(libs.modules.at("Testing"))
|
||||
.link(libs.modules.at("Configuration"));
|
||||
}
|
||||
Reference in new issue
Block a user