public VSProjectConfiguration(
            VSProject project,
            Bam.Core.Module module,
            Bam.Core.EPlatform platform)
        {
            this.Project       = project;
            this.Module        = module;
            this.Configuration = module.BuildEnvironment.Configuration;
            this.Platform      = platform;
            this.FullName      = this.CombinedName;

            this.Type = EType.NA;

            var visualCMeta = Bam.Core.Graph.Instance.PackageMetaData <VisualC.MetaData>("VisualC");

            this.PlatformToolset          = visualCMeta.PlatformToolset;
            this.UseDebugLibraries        = false;
            this.CharacterSet             = C.ECharacterSet.NotSet;
            this.WholeProgramOptimization = false;// TODO: false is consistent with Native builds (module.BuildEnvironment.Configuration != Bam.Core.EConfiguration.Debug);

            this.SettingGroups = new Bam.Core.Array <VSSettingsGroup>();
            this.Sources       = new Bam.Core.Array <VSSettingsGroup>();
            this.Headers       = new Bam.Core.Array <VSSettingsGroup>();
            this.ResourceFiles = new Bam.Core.Array <VSSettingsGroup>();
            this.AssemblyFiles = new Bam.Core.Array <VSSettingsGroup>();

            this.OrderOnlyDependentProjects = new Bam.Core.Array <VSProject>();
            this.LinkDependentProjects      = new Bam.Core.Array <VSProject>();

            this.PreBuildCommands  = new Bam.Core.StringArray();
            this.PostBuildCommands = new Bam.Core.StringArray();
        }
Exemplo n.º 2
0
 public RegisterCxxLinkerAttribute(
     string toolsetName,
     Bam.Core.EPlatform platform,
     EBit bitDepth)
     :
     base(toolsetName, platform, bitDepth)
 {
 }
 public RegisterWinResourceCompilerAttribute(
     string toolsetName,
     Bam.Core.EPlatform platform,
     EBit bitDepth)
     :
     base(toolsetName, platform, bitDepth)
 {
 }
 public RegisterLibrarianAttribute(
     string toolsetName,
     Bam.Core.EPlatform platform,
     EBit bitDepth)
     :
     base(toolsetName, platform, bitDepth)
 {
 }
Exemplo n.º 5
0
 public RegisterObjectiveCCompilerAttribute(
     string toolsetName,
     Bam.Core.EPlatform platform,
     EBit bitDepth)
     :
     base(toolsetName, platform, bitDepth)
 {
 }
Exemplo n.º 6
0
 protected ToolRegistrationAttribute(
     string toolsetName,
     Bam.Core.EPlatform platform,
     EBit bitDepth)
 {
     this.ToolsetName = toolsetName;
     this.Platform    = platform;
     this.BitDepth    = bitDepth;
 }