/// <summary> /// Configures project generator based on command-line options /// </summary> /// <param name="Arguments">Arguments passed into the program</param> /// <param name="IncludeAllPlatforms">True if all platforms should be included</param> protected override void ConfigureProjectFileGeneration(string[] Arguments, ref bool IncludeAllPlatforms) { // Call parent implementation first base.ConfigureProjectFileGeneration(Arguments, ref IncludeAllPlatforms); ProjectFilePlatform = IncludeAllPlatforms ? XcodeProjectFilePlatform.All : XcodeProjectFilePlatform.Mac; foreach (var CurArgument in Arguments) { if (CurArgument.StartsWith("-iOSDeployOnly", StringComparison.InvariantCultureIgnoreCase)) { bGeneratingRunIOSProject = true; break; } if (CurArgument.StartsWith("-tvOSDeployOnly", StringComparison.InvariantCultureIgnoreCase)) { bGeneratingRunTVOSProject = true; break; } } if (bGeneratingGameProjectFiles) { IncludeEngineSource = true; } }
/// <summary> /// Configures project generator based on command-line options /// </summary> /// <param name="Arguments">Arguments passed into the program</param> /// <param name="IncludeAllPlatforms">True if all platforms should be included</param> protected override void ConfigureProjectFileGeneration( String[] Arguments, ref bool IncludeAllPlatforms ) { // Call parent implementation first base.ConfigureProjectFileGeneration( Arguments, ref IncludeAllPlatforms ); ProjectFilePlatform = IncludeAllPlatforms ? XcodeProjectFilePlatform.All : XcodeProjectFilePlatform.Mac; }
/// <summary> /// Configures project generator based on command-line options /// </summary> /// <param name="Arguments">Arguments passed into the program</param> /// <param name="IncludeAllPlatforms">True if all platforms should be included</param> protected override void ConfigureProjectFileGeneration(string[] Arguments, ref bool IncludeAllPlatforms) { // Call parent implementation first base.ConfigureProjectFileGeneration(Arguments, ref IncludeAllPlatforms); ProjectFilePlatform = IncludeAllPlatforms ? XcodeProjectFilePlatform.All : XcodeProjectFilePlatform.Mac; foreach (var CurArgument in Arguments) { if (CurArgument.ToLowerInvariant() == "-iosdeployonly") { bGeneratingRunIOSProject = true; ProjectFilePlatform = XcodeProjectFilePlatform.iOS; break; } } }