Files
henrik karlsson 562dc45ab9 [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082288 by henrik karlsson in 5.3 branch]
2023-06-17 18:14:12 -04:00

33 lines
975 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "Containers/Map.h"
#include "Containers/UnrealString.h"
#include "CoreMinimal.h"
#include "Serialization/JsonWriter.h"
class FJsonObject;
/**
* Descriptor for projects. Contains all the information contained within a .uproject file.
*/
struct FCustomBuildSteps
{
/** Mapping from host platform to list of commands */
TMap<FString, TArray<FString>> HostPlatformToCommands;
/** Whether this object is empty */
PROJECTS_API bool IsEmpty() const;
/** Reads the descriptor from the given JSON object */
PROJECTS_API void Read(const FJsonObject& Object, const FString& FieldName);
/** Writes the CustomBuildSteps to JSON */
PROJECTS_API void Write(TJsonWriter<>& Writer, const FString& FieldName) const;
/** Updates the given json object with this CustomBuildSteps */
PROJECTS_API void UpdateJson(FJsonObject& JsonObject, const FString& FieldName) const;
};