You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* use .Any() instead of looping through GlobalDefinitions * BUILD_SOURCE_URL can always be set as interpolated string replace null with an empty string #rnx #rb Tim.Smith [CL 27310674 by joe kirchoff in ue5-main branch]
79 lines
1.0 KiB
C++
79 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "BuildSettings.h"
|
|
|
|
namespace BuildSettings
|
|
{
|
|
bool IsLicenseeVersion()
|
|
{
|
|
return ENGINE_IS_LICENSEE_VERSION;
|
|
}
|
|
|
|
int GetEngineVersionMajor()
|
|
{
|
|
return ENGINE_VERSION_MAJOR;
|
|
}
|
|
|
|
int GetEngineVersionMinor()
|
|
{
|
|
return ENGINE_VERSION_MINOR;
|
|
}
|
|
|
|
int GetEngineVersionHotfix()
|
|
{
|
|
return ENGINE_VERSION_HOTFIX;
|
|
}
|
|
|
|
const TCHAR* GetEngineVersionString()
|
|
{
|
|
return TEXT(ENGINE_VERSION_STRING);
|
|
}
|
|
|
|
int GetCurrentChangelist()
|
|
{
|
|
return CURRENT_CHANGELIST;
|
|
}
|
|
|
|
int GetCompatibleChangelist()
|
|
{
|
|
return COMPATIBLE_CHANGELIST;
|
|
}
|
|
|
|
const TCHAR* GetBranchName()
|
|
{
|
|
return TEXT(BRANCH_NAME);
|
|
}
|
|
|
|
const TCHAR* GetBuildDate()
|
|
{
|
|
return TEXT(__DATE__);
|
|
}
|
|
|
|
const TCHAR* GetBuildTime()
|
|
{
|
|
return TEXT(__TIME__);
|
|
}
|
|
|
|
const TCHAR* GetBuildVersion()
|
|
{
|
|
return TEXT(BUILD_VERSION);
|
|
}
|
|
|
|
bool IsPromotedBuild()
|
|
{
|
|
return ENGINE_IS_PROMOTED_BUILD;
|
|
}
|
|
|
|
bool IsWithDebugInfo()
|
|
{
|
|
return UE_WITH_DEBUG_INFO;
|
|
}
|
|
|
|
const TCHAR* GetBuildURL()
|
|
{
|
|
return TEXT(BUILD_SOURCE_URL);
|
|
}
|
|
}
|
|
|
|
|