Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_Compiler.h
ben marsh e675e5497c Merging Live++ 1.5.0
#rb none
#jira

#ROBOMERGE-SOURCE: CL 7321355 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7321356 by ben marsh in Main branch]
2019-07-16 08:43:32 -04:00

30 lines
999 B
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#pragma once
#include "CoreTypes.h"
namespace process
{
struct Environment;
}
namespace compiler
{
// creates a new entry in the cache for the given compiler .exe, and returns it
const process::Environment* CreateEnvironmentCacheEntry(const wchar_t* absolutePathToCompilerExe);
// gets the environment for a given compiler .exe from the cache.
// returns nullptr if the environment is not yet in the cache.
const process::Environment* GetEnvironmentFromCache(const wchar_t* absolutePathToCompilerExe);
// helper function that either creates a new entry in the cache if none exists yet,
// or returns the one found in the cache.
const process::Environment* UpdateEnvironmentCache(const wchar_t* absolutePathToCompilerExe);
// BEGIN EPIC MOD - Allow overriding environment block for tools
void AddEnvironmentToCache(const wchar_t* absolutePathToCompilerExe, process::Environment* environment);
// END EPIC MOD
}