additional file fix
This commit is contained in:
parent
f90881b03d
commit
698665215b
9 changed files with 64 additions and 88 deletions
|
|
@ -51,6 +51,8 @@ namespace Crafter {
|
|||
export class Configuration {
|
||||
public:
|
||||
std::string name;
|
||||
fs::path buildDir;
|
||||
fs::path binDir;
|
||||
std::string standard;
|
||||
std::vector<std::unique_ptr<Module>> interfaces;
|
||||
std::vector<Implementation> implementations;
|
||||
|
|
|
|||
|
|
@ -27,21 +27,18 @@ namespace Crafter {
|
|||
export class Project {
|
||||
public:
|
||||
std::string name;
|
||||
fs::path path;
|
||||
fs::path buildDir;
|
||||
fs::path binDir;
|
||||
fs::path path;
|
||||
std::vector<Configuration> configurations;
|
||||
std::vector<Test> tests;
|
||||
Project(std::string&& name, fs::path&& path, std::vector<Configuration>&& configurations);
|
||||
Project(std::string&& name, fs::path&& path, std::vector<Configuration>&& configurations, fs::path&& buildDir, fs::path&& binDir);
|
||||
static Project LoadFromJSON(const fs::path& path);
|
||||
Configuration& Build(std::string_view configuration);
|
||||
Configuration& Build(std::string_view configuration, const fs::path& outputDir);
|
||||
Configuration& Build(std::string_view configuration, const fs::path& outputDir, const fs::path& binDir);
|
||||
Configuration& Build(std::string_view configuration, const fs::path& outputDir, const fs::path& binDir, std::string outputName);
|
||||
Configuration& Build(std::string_view configuration, const fs::path& binDir, const fs::path& outputDir, const fs::path& buildDir, std::string outputName);
|
||||
void Build(Configuration& configuration) const;
|
||||
void Build(Configuration& configuration, const fs::path& binDir) const;
|
||||
void Build(Configuration& configuration, const fs::path& binDir, const fs::path& builDir) const;
|
||||
void Build(Configuration& configuration, const fs::path& binDir, const fs::path& builDir, std::string outputName) const;
|
||||
void Build(Configuration& configuration, const fs::path& binDir, const fs::path& outputDir, const fs::path& buildDir, std::string outputName) const;
|
||||
TestResult RunTest(const std::string_view test);
|
||||
TestResult RunTest(Test& test) const;
|
||||
std::vector<TestResult> RunTests();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue