5 public enum ReleaseMode : int
11 public enum BuildMode : int
23 has_platform_ext = false;
24 is_executable = false;
25 release_mode = ReleaseMode.ReleaseMode_Release;
26 build_mode = BuildMode.BuildMode_Simple;
28 public string binary_name; /* Name of binary */
29 public string source_path; /* Local path to library build scripts */
30 public ReleaseMode release_mode; /* Release mode */
31 public BuildMode build_mode; /* Build mode */
32 public string package_path; /* Final relative path */
33 public bool has_platform_ext; /* Add extra platform extension? */
34 public string vcproj_name; /* Project file, NULL for standard */
35 public bool is_executable; /* If this is an EXE instead of a DLL */
40 public Plugin(string file)
45 public Plugin (string file, string folder)
51 public Plugin (string file, bool is_disabled)
54 disabled = is_disabled;
56 public string Folder; /* Source folder relative to scripting (null for default) */
57 public string Source; /* Source file name */
58 public bool disabled; /* Is the plugin disabled? */
61 public abstract class Package
64 * Must return the root compression point.
66 public abstract void GetCompressBases(ref string path, ref string folder);
69 * Must return the base package output folder.
71 public abstract string GetBaseFolder();
74 * Must return the list of folders to create.
76 public abstract string [] GetFolders();
79 * Called when file to file copies must be performed
81 public abstract void OnCopyFiles(ABuilder builder);
84 * Called when dir to dir copies must be performed
86 public abstract void OnCopyFolders(ABuilder builder);
89 * Called to build libraries
91 public abstract Library [] GetLibraries();
94 * Called to get package name
96 public abstract string GetPackageName();
99 * Called to get a plugin list
101 public abstract Plugin [] GetPlugins();