ECompilationResult::Type

Enumerates possible results of a compilation operation.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/CompilationResult.h

Include

#include "Misc/CompilationResult.h"

Syntax

namespace ECompilationResult
{
    enum Type
    {
        Succeeded                  = 0,
        Canceled                   = 1,
        UpToDate                   = 2,
        CrashOrAssert              = 3,
        FailedDueToHeaderChange    = 4,
        FailedDueToEngineChange    = 5,
        OtherCompilationError      = 6,
        Unsupported,
        Unknown,
    }
}

Values

Name

Description

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

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss