Polyphase Game Engine
Loading...
Searching...
No Matches
BuildProfile.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include <string>
6#include <cstdint>
7#include "EngineTypes.h"
8#include "document.h"
9
16struct BuildProfile
17{
19 uint32_t mId = 0;
20
22 std::string mName = "Default";
23
25 Platform mTargetPlatform = Platform::Windows;
26
28 bool mEmbedded = true;
29
34 std::string mOutputDirectory = "";
35
37 bool mUseDocker = false;
38
40 bool mOpenDirectoryOnFinish = true;
41
46 void LoadFromJson(const rapidjson::Value& value);
47
53 void SaveToJson(rapidjson::Document& doc, rapidjson::Value& value) const;
54};
55
61const char* GetPlatformOutputExtension(Platform platform);
62
68bool PlatformRequiresDockerOnWindows(Platform platform);
69
75bool PlatformSupportsRun(Platform platform);
76
77#endif
Platform
Definition EngineTypes.h:31
Definition JsonHelpers.h:15
Definition JsonHelpers.h:14