ITargetPlatform::RequiresTempTarget

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

Unreal Engine C++ API Reference > Developer > TargetPlatform > Interfaces > ITargetPlatform

  • ITargetPlatform::RequiresTempTarget()

References

   
Module TargetPlatform
Header /Engine/Source/Developer/TargetPlatform/Public/Interfaces/ITargetPlatform.h
Include #include "Interfaces/ITargetPlatform.h"
bool RequiresTempTarget
(
    bool bProjectHasCode,
    EBuildConfiguration Configuration,
    bool bRequiresAssetNativization,
    [FText](API\Runtime\Core\Internationalization\FText) & OutReason
) const

Remarks

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

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library