Defaults( this IMakeLinkSettings settings, Bam.Core.Module module) { settings.Force = true; settings.Verbose = true; settings.SymbolicLink = true; }
Defaults( this IMakeLinkSettings settings, Bam.Core.Module module) { settings.Force = true; settings.Verbose = true; settings.SymbolicLink = true; settings.DoNotDereferenceTarget = true; }
Convert( this IMakeLinkSettings settings, Bam.Core.StringArray commandLine) { var module = (settings as Bam.Core.Settings).Module; if (module.BuildEnvironment.Platform.Includes(Bam.Core.EPlatform.Windows)) { if (settings.Force) { // no switch } if (settings.Verbose) { // no switch } if (settings.SymbolicLink) { // no switch } if (settings.DoNotDereferenceTarget) { // no switch } } else { if (settings.Force) { commandLine.Add("-f"); } if (settings.Verbose) { commandLine.Add("-v"); } if (settings.SymbolicLink) { commandLine.Add("-s"); } if (settings.DoNotDereferenceTarget) { commandLine.Add("-n"); } } }