2025-12-14 00:25:51 +11:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Progrart.Core.ProjectSystem
|
|
|
|
|
|
{
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class Project
|
|
|
|
|
|
{
|
2026-01-02 03:24:33 +11:00
|
|
|
|
public string OutputDir = "output";
|
2025-12-24 00:55:56 +11:00
|
|
|
|
public List<BuildConfiguration> Configurations = new List<BuildConfiguration>();
|
2026-01-02 03:24:33 +11:00
|
|
|
|
public ExecuteArguments Arguments = new ExecuteArguments();
|
2025-12-14 00:25:51 +11:00
|
|
|
|
}
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuildConfiguration
|
|
|
|
|
|
{
|
|
|
|
|
|
public string? Name;
|
2026-01-02 03:24:33 +11:00
|
|
|
|
public string? OutputDir;
|
2025-12-24 00:55:56 +11:00
|
|
|
|
public List<BuildItem> Items = new List<BuildItem>();
|
2026-01-02 03:24:33 +11:00
|
|
|
|
public ExecuteArguments Arguments = new ExecuteArguments();
|
2025-12-24 00:55:56 +11:00
|
|
|
|
}
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class BuildItem
|
|
|
|
|
|
{
|
2026-01-02 03:24:33 +11:00
|
|
|
|
public string Source = "";
|
2025-12-24 00:55:56 +11:00
|
|
|
|
public string? Target;
|
2026-01-02 03:24:33 +11:00
|
|
|
|
public int Size;
|
|
|
|
|
|
public ExecuteArguments Arguments = new ExecuteArguments();
|
2025-12-14 00:25:51 +11:00
|
|
|
|
}
|
|
|
|
|
|
}
|