[M6] populate Cargoxx.toml; add 'cargoxx linkdb add' CLI; codegen fixes for self-host

This commit is contained in:
2026-05-14 00:17:56 +00:00
parent a757149f99
commit 4f9b6f1827
8 changed files with 104 additions and 14 deletions

View File

@@ -111,7 +111,7 @@ auto emit_library(const layout::Target& lib, const std::string& package_name,
out += std::format("add_library({} STATIC)\n", package_name);
out += std::format("target_sources({}\n", package_name);
out += " PUBLIC\n";
out += " FILE_SET CXX_MODULES FILES\n";
out += " FILE_SET CXX_MODULES BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/.. FILES\n";
for (const auto& m : lib.module_units) {
out += std::format(" {}\n", rel_to_build(m, project_root));
}