Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
CSharpBuildManager.hpp
1#pragma once
2
3#include <vector>
4#include <filesystem>
5
6#include "CSharpProjectMetaData.hpp"
7
8namespace Grindstone::Editor::ScriptBuilder {
10 public:
11 void FinishInitialFileProcessing() const;
12 void AddFileInitial(const std::filesystem::path& path);
13 void OnFileAdded(const std::filesystem::path& path);
14 void OnFileMoved(
15 const std::filesystem::path& updatedPath,
16 const std::filesystem::path& originalPath
17 );
18 void OnFileDeleted(const std::filesystem::path& path);
19 static void OnFileModified(const std::filesystem::path& path);
20 private:
21 static void BuildProject();
22 void CreateProjectsAndSolution() const;
23 void CreateProject(const CSharpProjectMetaData& metaData) const;
24 static void CreateSolution(const CSharpProjectMetaData& metaData);
25
26 std::vector<std::filesystem::path> files;
27 };
28}
Definition CSharpProjectMetaData.hpp:6