FGenericPlatformProcess::GenerateApplicationPath

Generates the path to the specified application or game.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformProcess.h

Include

#include "GenericPlatform/GenericPlatformProcess.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformProcess.cpp

Syntax

static FString GenerateApplicationPath
(
    const FString & AppName,
    EBuildConfiguration BuildConfiguration
)

Remarks

Generates the path to the specified application or game.

The application must reside in the Engine's binaries directory. The returned path is relative to this executable's directory.For example, calling this method with "UE4" and EBuildConfiguration::Debug on Windows 64-bit will generate the path "../Win64/UE4Editor-Win64-Debug.exe"

Returns

The generated application path.

Parameters

Parameter

Description

AppName

The name of the application or game.

BuildConfiguration

The build configuration of the game.

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