Enumerates possible results of a compilation operation. 更多...
枚举 | |
| enum | Type { Succeeded = 0 , Canceled = 1 , UpToDate = 2 , CrashOrAssert = 3 , FailedDueToHeaderChange = 4 , FailedDueToEngineChange = 5 , OtherCompilationError = 6 , Unsupported , Unknown } |
函数 | |
| static FORCEINLINE bool | Failed (ECompilationResult::Type Result) |
| Returns false if the provided Result is either UpToDate or Succeeded. | |
| static FORCEINLINE const TCHAR * | ToString (ECompilationResult::Type Result) |
| Converts ECompilationResult enum to string. | |
Enumerates possible results of a compilation operation.
This enum has to be compatible with the one defined in the UE4\Engine\Source\Programs\UnrealBuildTool\System\ExternalExecution.cs file to keep communication between UHT, UBT and Editor compiling processes valid.
| 枚举值 | |
|---|---|
| Succeeded | Compilation succeeded |
| Canceled | Build was canceled, this is used on the engine side only |
| UpToDate | All targets were up to date, used only with -canskiplink |
| CrashOrAssert | The process has most likely crashed. This is what UE returns in case of an assert |
| FailedDueToHeaderChange | Compilation failed because generated code changed which was not supported |
| FailedDueToEngineChange | Compilation failed due to the engine modules needing to be rebuilt |
| OtherCompilationError | Compilation failed due to compilation errors |
| Unsupported | Compilation is not supported in the current build |
| Unknown | Unknown error |