public CodeLiteGenerator(FileReference InOnlyGameProject, CommandLineArguments CommandLine) : base(InOnlyGameProject) { if (CommandLine.HasOption("-cl10")) { ProjectFileFormat = CodeliteProjectFileFormat.CodeLite10; } else if (CommandLine.HasOption("-cl9")) { ProjectFileFormat = CodeliteProjectFileFormat.CodeLite9; } }
public CodeLiteGenerator(FileReference InOnlyGameProject, string[] Arguments) : base(InOnlyGameProject) { foreach (string Argument in Arguments) { if (Argument.Equals("-cl10", StringComparison.InvariantCultureIgnoreCase)) { ProjectFileFormat = CodeliteProjectFileFormat.CodeLite10; } else if (Argument.Equals("-cl9", StringComparison.InvariantCultureIgnoreCase)) { ProjectFileFormat = CodeliteProjectFileFormat.CodeLite9; } } }