You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Now stores the linker environment block in the live coding manifest, and adds it to the cache before executing the linker. #rb none #jira UE-72324 #ROBOMERGE-OWNER: ryan.vance #ROBOMERGE-AUTHOR: ben.marsh #ROBOMERGE-SOURCE: CL 5740602 in //UE4/Release-4.22/... via CL 5740765 #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 5744051 by ben marsh in Dev-VR branch]
30 lines
983 B
C++
30 lines
983 B
C++
// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreTypes.h"
|
|
|
|
namespace environment
|
|
{
|
|
struct Block;
|
|
}
|
|
|
|
|
|
namespace compiler
|
|
{
|
|
// creates a new entry in the cache for the given compiler .exe, and returns it
|
|
const environment::Block* 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 environment::Block* 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 environment::Block* UpdateEnvironmentCache(const wchar_t* absolutePathToCompilerExe);
|
|
|
|
// BEGIN EPIC MOD - Allow overriding environment block for tools
|
|
void AddEnvironmentToCache(const wchar_t* absolutePathToCompilerExe, environment::Block* block);
|
|
// END EPIC MOD
|
|
}
|