@@ -60,6 +60,8 @@ public DriverOptions()
60
60
/// </summary>
61
61
public bool UnityBuild { get ; set ; }
62
62
63
+ #region Module options
64
+
63
65
public Module SystemModule { get ; }
64
66
public List < Module > Modules { get ; }
65
67
@@ -75,33 +77,47 @@ public Module MainModule
75
77
76
78
public List < string > Headers => MainModule . Headers ;
77
79
78
- // Library options
79
80
public List < string > Libraries => MainModule . Libraries ;
80
- public bool CheckSymbols ;
81
81
82
82
public string SharedLibraryName
83
83
{
84
84
get { return MainModule . SharedLibraryName ; }
85
85
set { MainModule . SharedLibraryName = value ; }
86
86
}
87
87
88
- // Generator options
89
- public GeneratorKind GeneratorKind ;
90
-
91
88
public string OutputNamespace
92
89
{
93
90
get { return MainModule . OutputNamespace ; }
94
91
set { MainModule . OutputNamespace = value ; }
95
92
}
96
93
97
- public string OutputDir ;
98
-
99
94
public string LibraryName
100
95
{
101
96
get { return MainModule . LibraryName ; }
102
97
set { MainModule . LibraryName = value ; }
103
98
}
104
99
100
+ public string InlinesLibraryName
101
+ {
102
+ get { return MainModule . InlinesLibraryName ; }
103
+ set { MainModule . InlinesLibraryName = value ; }
104
+ }
105
+
106
+ public string TemplatesLibraryName
107
+ {
108
+ get { return MainModule . TemplatesLibraryName ; }
109
+ set { MainModule . TemplatesLibraryName = value ; }
110
+ }
111
+
112
+ #endregion
113
+
114
+ // Generator options
115
+ public GeneratorKind GeneratorKind ;
116
+
117
+ public bool CheckSymbols ;
118
+
119
+ public string OutputDir ;
120
+
105
121
public bool OutputInteropIncludes ;
106
122
public bool GenerateFunctionTemplates ;
107
123
public bool GenerateInternalImports ;
@@ -135,18 +151,6 @@ public string LibraryName
135
151
136
152
public Encoding Encoding { get ; set ; }
137
153
138
- public string InlinesLibraryName
139
- {
140
- get { return MainModule . InlinesLibraryName ; }
141
- set { MainModule . InlinesLibraryName = value ; }
142
- }
143
-
144
- public string TemplatesLibraryName
145
- {
146
- get { return MainModule . TemplatesLibraryName ; }
147
- set { MainModule . TemplatesLibraryName = value ; }
148
- }
149
-
150
154
public bool IsCSharpGenerator => GeneratorKind == GeneratorKind . CSharp ;
151
155
152
156
public bool IsCLIGenerator => GeneratorKind == GeneratorKind . CLI ;
0 commit comments