feat: complete Track A zero-CMake self-hosting, full VOID_TEST migration, and bit-identical Stage 2/3 bootstrap
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 2s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 2s
This commit is contained in:
1 parent
fe0d1a6483
commit
5e1916dc5c
23 files changed
+945
-141
No files matched your search
@@ -31,7 +31,9 @@ const std::map<std::string, ModuleDef, std::less<>> &known_modules() {
|
||||
{"Crypto", {{"Functional"}, false}},
|
||||
{"Archive", {{"Functional", "Time", "System"}, false}},
|
||||
{"Configuration", {{"Core", "Functional", "System", "Data", "Time", "LogState"}, true}},
|
||||
{"Testing", {{"Core", "Functional", "Time", "LogState", "Configuration", "Text"}, true}},
|
||||
{"Log", {{"Async", "Core", "Data", "Functional", "Memory", "Time", "LogState"}, true}},
|
||||
{"Testing",
|
||||
{{"Core", "Functional", "Time", "LogState", "Async", "Configuration", "Text"}, true}},
|
||||
};
|
||||
return kDefs;
|
||||
}
|
||||
@@ -89,9 +91,10 @@ VoidLibraryTargets add_void_library_native(Project &project,
|
||||
|
||||
Target tgt = srcs.empty() ? project.header_only_library(target_name)
|
||||
: project.static_library(target_name);
|
||||
tgt.cxx_standard(CxxStandard::Cxx26)
|
||||
.include_directory(include_dir, Visibility::Public)
|
||||
.compile_option("-freflection", Visibility::Public);
|
||||
tgt.cxx_standard(CxxStandard::Cxx26).include_directory(include_dir, Visibility::Public);
|
||||
if (project.context().compiler == CompilerFamily::Gcc) {
|
||||
tgt.compile_option("-freflection", Visibility::Public);
|
||||
}
|
||||
|
||||
for (const auto &s : srcs) {
|
||||
tgt.sources(SourceSet::file(s));
|
||||
@@ -109,7 +112,8 @@ VoidLibraryTargets add_void_library_native(Project &project,
|
||||
tgt.define("VOID_ARCHIVE_HAS_LIBARCHIVE=0", Visibility::Public);
|
||||
}
|
||||
if (mod == "Testing") {
|
||||
tgt.define("VOID_HAS_CONFIGURATION", Visibility::Public)
|
||||
tgt.define("VOID_HAS_ASYNC", Visibility::Public)
|
||||
.define("VOID_HAS_CONFIGURATION", Visibility::Public)
|
||||
.define("VOID_HAS_TEXT", Visibility::Public);
|
||||
}
|
||||
result.modules.emplace(mod, tgt);
|
||||
|
||||
Reference in new issue
Block a user