Add Tracy profiler support
This commit is contained in:
@@ -27,5 +27,13 @@ public class Profiler : EngineModule
|
||||
options.PrivateDependencies.Clear();
|
||||
|
||||
options.PublicDefinitions.Add("COMPILE_WITH_PROFILER");
|
||||
|
||||
// Tracy profiling tools
|
||||
switch (options.Platform.Target)
|
||||
{
|
||||
case TargetPlatform.Windows:
|
||||
options.PublicDependencies.Add("tracy");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user