void PopulateFiles() { string args = command.ArgumentsString; args = parent.VariableManager.ResolveString(command.ArgumentsString); List <CMakeArgument> arguments = CMakeArgument.ArgumentsFromString(args); foreach (var arg in arguments) { foreach (var val in arg.GetValues()) { parseValue(val); } } }
public List <string> GetListValueOf(string variableName) { if (!Contains(variableName)) { return(new List <string> ()); } List <CMakeArgument> args = CMakeArgument.ArgumentsFromString(GetStringValueOf(variableName)); var result = new List <string> (); foreach (CMakeArgument arg in args) { result = result.Concat(arg.GetValues()).ToList(); } return(result); }