You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Before: Total CPU Time: 53783.640625 s Total time in Parallel executor: 558.66 seconds After: Total CPU Time: 47886.140625 s Total time in Parallel executor: 498.81 seconds #jira [CL 22173145 by bryan sefcik in ue5-main branch]
26 lines
843 B
C++
26 lines
843 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "SourceCodeAccessSettings.h"
|
|
#include "Misc/ConfigCacheIni.h"
|
|
|
|
#include UE_INLINE_GENERATED_CPP_BY_NAME(SourceCodeAccessSettings)
|
|
|
|
USourceCodeAccessSettings::USourceCodeAccessSettings(const FObjectInitializer& ObjectInitializer)
|
|
: Super(ObjectInitializer)
|
|
{
|
|
#if PLATFORM_WINDOWS
|
|
PreferredAccessor = TEXT("VisualStudioSourceCodeAccessor");
|
|
#elif PLATFORM_MAC
|
|
PreferredAccessor = TEXT("XCodeSourceCodeAccessor");
|
|
#elif PLATFORM_LINUX
|
|
if (!GConfig->GetString(TEXT("/Script/SourceCodeAccess.SourceCodeAccessSettings"), TEXT("PreferredAccessor"), PreferredAccessor, GEditorSettingsIni))
|
|
{
|
|
// If no config is found default to VSCode
|
|
PreferredAccessor = TEXT("VisualStudioCode");
|
|
}
|
|
|
|
UE_LOG(LogHAL, Log, TEXT("Linux SourceCodeAccessSettings: %s"), *PreferredAccessor);
|
|
#endif
|
|
}
|
|
|