Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_Environment.h
ben marsh e3e157d850 Live Coding: Fixes issue linking patch DLLs with Visual Studio Express, due to PATH environment variable not including path to mspdb140.dll.
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]
2019-04-04 13:08:37 -04:00

30 lines
719 B
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#pragma once
#include "CoreTypes.h"
#include <string>
// BEGIN EPIC MOD - Allow passing environment block for linker
#include "Containers/Map.h"
// END EPIC MOD
namespace environment
{
struct Block;
// BEGIN EPIC MOD - Allow passing environment block for linker
Block* CreateBlockFromMap(const TMap<FString, FString>& Pairs);
// END EPIC MOD
Block* CreateBlockFromFile(const wchar_t* path);
void DestroyBlock(Block*& block);
void DumpBlockData(const wchar_t* name, const Block* block);
const void* GetBlockData(const Block* block);
const size_t GetBlockSize(const Block* block);
std::wstring GetVariable(const wchar_t* variable);
}