Files
UnrealEngineUWP/Engine/Source/Programs/CrossCompilerTool/Private/CrossCompilerTool.h
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

43 lines
805 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Core.h"
#include "hlslcc.h"
namespace CCT
{
class FRunInfo
{
public:
enum EBackend
{
BE_Metal,
BE_OpenGL,
BE_Invalid,
};
EHlslShaderFrequency Frequency;
EHlslCompileTarget Target;
FString Entry;
FString InputFile;
FString OutputFile;
EBackend BackEnd;
bool bRunCPP;
bool bUseNew;
bool bList;
bool bPreprocessOnly;
FRunInfo();
bool Setup(const FString& InOptions, const TArray<FString>& InSwitches);
protected:
static EHlslShaderFrequency ParseFrequency(TArray<FString>& InOutSwitches);
static EHlslCompileTarget ParseTarget(TArray<FString>& InOutSwitches, EBackend& OutBackEnd);
};
void PrintUsage();
}
DECLARE_LOG_CATEGORY_EXTERN(LogCrossCompilerTool, Log, All);