Navigation
API > API/Developer > API/Developer/DesktopPlatform
Stores information about a compiled target. Mirror of the TargetReceipt class generated by UBT.
| Name | FTargetReceipt |
| Type | struct |
| Header File | /Engine/Source/Developer/DesktopPlatform/Public/TargetReceipt.h |
| Include Path | #include "TargetReceipt.h" |
Syntax
struct FTargetReceipt
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdditionalProperties | TArray< FReceiptProperty > | Additional build properties passed through from the module rules | TargetReceipt.h | |
| Architecture | FString | Which platform the target is compiled for | TargetReceipt.h | |
| BuildPlugins | TArray< FString > | All plugins which are part of this target. | TargetReceipt.h | |
| BuildProducts | TArray< FBuildProduct > | The build products which are part of this target | TargetReceipt.h | |
| Configuration | EBuildConfiguration | Which configuration this target is compiled in | TargetReceipt.h | |
| Launch | FString | The executable to launch for this target. | TargetReceipt.h | |
| LaunchCmd | TOptional< FString > | The console subsystem executable for this target | TargetReceipt.h | |
| Platform | FString | Which platform the target is compiled for | TargetReceipt.h | |
| PluginNameToEnabledState | TMap< FString, bool > | All plugins that were either enabled or disabled via the target rules. | TargetReceipt.h | |
| ProjectDir | FString | The project directory | TargetReceipt.h | |
| ProjectFile | FString | Path to the project file for this target | TargetReceipt.h | |
| RuntimeDependencies | TArray< FRuntimeDependency > | All the runtime dependencies that this target relies on | TargetReceipt.h | |
| TargetName | FString | The name of this target | TargetReceipt.h | |
| TargetType | EBuildTargetType | The type of the target | TargetReceipt.h | |
| Version | FBuildVersion | The version information for this target | TargetReceipt.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool LaunchesCurrentExecutable
(
bool bCheckLaunchField, |
Compares the running executable's path to the Launch_ and/or LaunchCmd_ paths. |
TargetReceipt.h | |
bool Read
(
const FString& FileName, |
Read a target receipt from disk | TargetReceipt.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetDefaultPath
(
const TCHAR* BaseDir, |
Gets the default path for a target receipt | TargetReceipt.h |