FTargetPlatformBase::RequiresTempTarget

Checks whether the current project needs a temporary .target.cs file to be packaged as a code project.

Windows
MacOS
Linux

Override Hierarchy

ITargetPlatform::RequiresTempTarget()

FTargetPlatformBase::RequiresTempTarget()

References

Module

TargetPlatform

Header

/Engine/Source/Developer/TargetPlatform/Public/Common/TargetPlatformBase.h

Include

#include "Common/TargetPlatformBase.h"

Source

/Engine/Source/Developer/TargetPlatform/Private/TargetPlatformBase.cpp

Syntax

virtual bool RequiresTempTarget
(
    bool bProjectHasCode,
    EBuildConfiguration Configuration,
    bool bRequiresAssetNativization,
    FText & OutReason
) const

Remarks

Checks whether the current project needs a temporary .target.cs file to be packaged as a code project.

Returns

True if a temporary target is required

Parameters

Parameter

Description

bProjectHasCode

Whether the project has code

Configuration

The configuration being built

bRequiresAssetNativization

Whether asset nativization is enabled

OutReason

On success, includes a description of the reason why a target is required