FTargetPlatformBase::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 > Common > FTargetPlatformBase

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
virtual 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