This commit is contained in:
parent
de9865b583
commit
d7a9c85ea6
11 changed files with 183 additions and 43 deletions
|
|
@ -16,6 +16,9 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>)
|
|||
ShaderLib->GetInterfacesAndImplementations(ifaces, impls);
|
||||
}
|
||||
ShaderLib->shaders.emplace_back("./lib/triangle.glsl", "main", ShaderType::Vertex);
|
||||
ShaderLib->files.emplace_back("./lib/asset.txt");
|
||||
ShaderLib->files.emplace_back("./lib/data");
|
||||
ShaderLib->buildFiles.emplace_back("./lib/ui-shared.glsl");
|
||||
|
||||
Configuration app;
|
||||
app.path = "./";
|
||||
|
|
@ -29,5 +32,6 @@ extern "C" Configuration CrafterBuildProject(std::span<const std::string_view>)
|
|||
std::array<fs::path, 1> impls = { "main" };
|
||||
app.GetInterfacesAndImplementations(ifaces, impls);
|
||||
}
|
||||
app.shaders.emplace_back("./consumer.glsl", "main", ShaderType::Vertex);
|
||||
return app;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue