build: install rules, packaging and profile definitions
This commit is contained in:
1 parent
9f0fa67f56
commit
e44612b505
2 files changed
+18
No files matched your search
@@ -33,6 +33,16 @@ void build(Void::Build::Project &project) {
|
||||
.link_option("-ldl", Void::Build::Visibility::Public);
|
||||
}
|
||||
|
||||
// Install/packaging rules: module archives, public headers and license metadata.
|
||||
for (auto &[name, target] : libs.modules) {
|
||||
if (target.record().kind == Void::Build::TargetKind::HeaderOnly) {
|
||||
continue;
|
||||
}
|
||||
target.install("lib");
|
||||
}
|
||||
project.install_directory("include", "include");
|
||||
project.install_file("README.md", "share/doc/VoidLibrary");
|
||||
|
||||
// Smoke test exercising the native VoidLibrary closure through VBS.
|
||||
auto smoke = project.test("void_smoke");
|
||||
smoke.cxx_standard(Void::Build::CxxStandard::Cxx26)
|
||||
|
||||
Reference in new issue
Block a user