-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathFEProjectBuildSystem.h
More file actions
26 lines (19 loc) · 834 Bytes
/
Copy pathFEProjectBuildSystem.h
File metadata and controls
26 lines (19 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once
#include "FEEditor.h"
using namespace FocalEngine;
class FEProjectBuildSystem
{
public:
SINGLETON_PUBLIC_PART(FEProjectBuildSystem)
bool BuildExecutable(FEProject* ProjectToBuild);
bool CopyVisualNodeSystemSubProjectFiles(const std::string& OutputPath);
bool InitializeCMakeFileAndScriptFiles(FEProject* ProjectToBuild, const std::string& VSProjectDirectory);
bool ConfigureAndBuildCMake(const std::string& VSProjectDirectory);
bool CreateFinalExecutableDirectory(FEProject* ProjectToBuild);
// Space in project name is not allowed
std::string GetVSProjectName(FEProject* ProjectToBuild);
//bool PackProjectResources(FEProject* ProjectToPack, const std::string& OutputPath);
private:
SINGLETON_PRIVATE_PART(FEProjectBuildSystem)
};
#define EDITOR_PROJECT_BUILD_SYSTEM FEProjectBuildSystem::GetInstance()