initial commit
This commit is contained in:
commit
0cf068b896
10 changed files with 25592 additions and 0 deletions
17
Crafter.Build-Project.cppm
Normal file
17
Crafter.Build-Project.cppm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
module;
|
||||
#include <vector>
|
||||
#include <string>
|
||||
export module Crafter.Build:Project;
|
||||
import :Configuration;
|
||||
|
||||
export namespace Crafter::Build {
|
||||
class Project {
|
||||
public:
|
||||
std::string name;
|
||||
std::vector<Configuration> configurations;
|
||||
Project(std::string name, std::vector<Configuration> configurations);
|
||||
void Build(std::string configuration);
|
||||
void SaveToJSON(std::string path);
|
||||
static Project LoadFromJSON(std::string file);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue