mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Support Metal shaders in modules
This commit is contained in:
parent
6a01abbc41
commit
31613e8e7d
3 changed files with 8 additions and 5 deletions
|
|
@ -315,7 +315,7 @@ Array<LibraryModule::CompileUnit> LibraryModule::getAllCompileUnits (build_tools
|
|||
for (auto& cu : units)
|
||||
{
|
||||
cu.isCompiledForObjC = true;
|
||||
cu.isCompiledForNonObjC = ! cu.file.hasFileExtension ("mm;m");
|
||||
cu.isCompiledForNonObjC = ! cu.file.hasFileExtension ("mm;m;metal");
|
||||
|
||||
if (cu.isCompiledForNonObjC)
|
||||
if (cu.file.withFileExtension ("mm").existsAsFile())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue