I want to know What is included by ReadOnlyTargetRules in Build.cs. It seems had no documentation.
Build.cs have a ReadOnlyTargetRules Parameter called “Target”, I find Many Project use such code as “Target.Platform” and “Target.UEThirdPartySourceDirectory”. What are these code mean? Is there any other usage of the Parameter?
Is there have any Documentation for ReadOnlyTargetRules Type?
There’s only this:
https://docs.unrealengine.com/en-us/Programming/UnrealBuildSystem/ModuleFiles
Which is very incomplete and doesn’t cover the ReadOnlyTargetRules class members nor any of the possible enum values. The only way to find about it is to download the GitHub version and look at the UnrealBuildTool source code.
You can find information in UBT source code:
You can also find Rules in