webgpu embedding
This commit is contained in:
parent
47bd4da0e3
commit
a879c834c7
4 changed files with 86 additions and 4 deletions
|
|
@ -6,6 +6,15 @@ using namespace Crafter;
|
|||
extern "C" Configuration CrafterBuildProject(std::span<const std::string_view> args) {
|
||||
std::vector<std::string> depArgs(args.begin(), args.end());
|
||||
|
||||
// Crafter.Event/Math/Asset are always resolved from forgejo (GitProject);
|
||||
// there is no local-sibling branch for them here. A consumer building
|
||||
// THIS project with --local (to pick up local Crafter.Graphics edits)
|
||||
// forwards --local down through depArgs, but these git deps can't honour
|
||||
// it — the flag makes their resolver look for an unsuffixed local
|
||||
// checkout that doesn't exist. Strip it so the sub-deps resolve normally
|
||||
// while Crafter.Graphics itself is still built from the local tree.
|
||||
std::erase(depArgs, "--local");
|
||||
|
||||
Configuration* event = GitProject({
|
||||
.source = { .url = "https://forgejo.catcrafts.net/Catcrafts/Crafter.Event.git" },
|
||||
.args = depArgs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue