get { return excludeLibs; }
isset { return excludeLibs.count != 0; }
}
+ property Array<String> eCcompilerFlags
+ {
+ set
+ {
+ eCcompilerFlags.Free();
+ if(value)
+ {
+ delete eCcompilerFlags;
+ eCcompilerFlags = value;
+ }
+ }
+ get { return eCcompilerFlags; }
+ isset { return eCcompilerFlags.count != 0; }
+ }
property Array<String> compilerFlags
{
set
Array<NamedString> environmentVars { };
Array<String> prepDirectives { };
Array<String> excludeLibs { };
+ Array<String> eCcompilerFlags { };
Array<String> compilerFlags { };
Array<String> linkerFlags { };
char * name;
if(prepDirectives) { prepDirectives.Free(); }
if(excludeLibs) { excludeLibs.Free(); }
if(compilerFlags) { compilerFlags.Free(); }
+ if(eCcompilerFlags) { eCcompilerFlags.Free(); }
if(linkerFlags) { linkerFlags.Free(); }
}
CompilerConfig Copy()
for(s : prepDirectives) copy.prepDirectives.Add(CopyString(s));
for(s : excludeLibs) copy.excludeLibs.Add(CopyString(s));
for(s : compilerFlags) copy.compilerFlags.Add(CopyString(s));
+ for(s : eCcompilerFlags) copy.eCcompilerFlags.Add(CopyString(s));
for(s : linkerFlags) copy.linkerFlags.Add(CopyString(s));
incref copy;
EditBox distccHosts
{
this, text = $"distcc hosts", hotKey = altH;
- position = { 88, 92 }, size = { 300 };
+ position = { 88, 92 }, size = { 300, 22 };
bool NotifyModified(EditBox editBox)
{
}
}
- Label lblPrepDefs { this, position = { 8, 124 }, labeledWindow = prepDefs };
+ Label lblPrepDefs { this, position = { 8, 126 }, labeledWindow = prepDefs };
StringListBox prepDefs
{
- this, text = $"Preprocessor directives:", hotKey = altP;
- position = { 148, 124 }, size = { 300 };
+ this, text = $"Preprocessor directives", hotKey = altP;
+ position = { 148, 124 }, size = { 300, 22 }, anchor = { left = 148, top = 124, right = 8 };
bool NotifyModified(EditBox editBox)
{
}
}
- Label lblCompilerFlags { this, position = { 8, 152 }, labeledWindow = compilerFlags };
+ Label leCcompilerFlags { this, position = { 8, 156 }, labeledWindow = eCcompilerFlags };
+ StringListBox eCcompilerFlags
+ {
+ this, text = $"Additional eC compiler flags", hotKey = altG;
+ position = { 148, 154 }, size = { 300, 22 }, anchor = { left = 148, top = 154, right = 8 };
+
+ bool NotifyModified(EditBox editBox)
+ {
+ if(loadedCompiler)
+ {
+ CompilerConfig compiler = loadedCompiler;
+ compiler.eCcompilerFlags = ((StringListBox)editBox).strings;
+ modifiedDocument = true;
+ compilersTab.modifiedDocument = true;
+ }
+ return true;
+ }
+ }
+
+ Label lblCompilerFlags { this, position = { 8, 186 }, labeledWindow = compilerFlags };
StringListBox compilerFlags
{
- this, text = $"Additional compiler flags:", hotKey = altL;
- position = { 148, 152 }, size = { 300 };
+ this, text = $"Additional compiler flags", hotKey = altR;
+ position = { 148, 184 }, size = { 300, 22 }, anchor = { left = 148, top = 184, right = 8 };
bool NotifyModified(EditBox editBox)
{
}
}
- Label lblLinkerFlags { this, position = { 8, 180 }, labeledWindow = linkerFlags };
+ Label lblLinkerFlags { this, position = { 8, 216 }, labeledWindow = linkerFlags };
StringListBox linkerFlags
{
- this, text = $"Additional linker flags:", hotKey = altL;
- position = { 148, 180 }, size = { 300 };
+ this, text = $"Additional linker flags", hotKey = altL;
+ position = { 148, 214 }, size = { 300, 22 }, anchor = { left = 148, top = 214, right = 8 };
bool NotifyModified(EditBox editBox)
{
}
}
- Label lblExcludedLibraries { this, position = { 8, 208 }, labeledWindow = excludedLibraries };
+ Label lblExcludedLibraries { this, position = { 8, 246 }, labeledWindow = excludedLibraries };
StringListBox excludedLibraries
{
- this, text = $"Libraries to exclude:", hotKey = altX;
- position = { 148, 208 }, size = { 300 };
+ this, text = $"Libraries to exclude", hotKey = altX;
+ position = { 148, 244 }, size = { 300, 22 }, anchor = { left = 148, top = 244, right = 8 };
bool NotifyModified(EditBox editBox)
{
distccHosts.contents = compiler.distccHosts;
prepDefs.strings = compiler.prepDirectives;
excludedLibraries.strings = compiler.excludeLibs;
+ eCcompilerFlags.strings = compiler.eCcompilerFlags;
compilerFlags.strings = compiler.compilerFlags;
linkerFlags.strings = compiler.linkerFlags;