Beispiel #1
0
 public void ConfigureAll(Configuration conf, Sharpmake.Target target)
 {
     conf.SolutionFileName = "[solution.Name]_[target.DevEnv]";
     conf.SolutionPath     = @"[solution.SharpmakeCsPath]\..\Windows\";
     conf.AddProject <TempestDesktopProject>(target);
     conf.AddProject <TempestServiceProject>(target);
     conf.Options.Add(Options.Vc.Compiler.Exceptions.Enable);
 }
Beispiel #2
0
        public override void ConfigureAll(Configuration conf, Sharpmake.Target target)
        {
            base.ConfigureAll(conf, target);

            conf.AddPublicDependency <Puma.Nina>(target);

            conf.Options.Add(Sharpmake.Options.Vc.General.TreatWarningsAsErrors.Enable);
        }
Beispiel #3
0
 public void ConfigureAll(Configuration conf, Sharpmake.Target target)
 {
     conf.SolutionFileName = "[solution.Name]_[target.DevEnv]";
     conf.SolutionPath     = @"[solution.SharpmakeCsPath]\..\";
     conf.AddProject <CoreProject>(target);
     conf.AddProject <WPFProject>(target);
     conf.AddProject <CLIProject>(target);
     conf.Options.Add(Options.Vc.Compiler.Exceptions.Enable);
 }
Beispiel #4
0
    public void ConfigureAll(Sharpmake.Project.Configuration conf, Sharpmake.Target target)
    {
        //Name of the project file
        conf.ProjectFileName = "[project.Name]_[target.Platform]_[target.DevEnv]";

        //Intermediate path
        conf.IntermediatePath = @"[conf.ProjectPath]\temp\[target.Optimization]";

        //Name of the binary generated
        conf.TargetFileName = "[project.Name]" + Puma.SharpmakeUtils.GetOptimizationSuffix(target.Optimization);

        conf.Defines.Add("_CRT_SECURE_NO_WARNINGS");
        conf.Options.Add(Sharpmake.Options.Vc.Compiler.Exceptions.Enable);
        conf.Options.Add(Sharpmake.Options.Vc.General.WindowsTargetPlatformVersion.Latest);
        conf.Options.Add(Sharpmake.Options.Vc.Compiler.CppLanguageStandard.CPP17);

        string[] warningsToIgnore = { "4100" };
        Sharpmake.Options.Vc.Compiler.DisableSpecificWarnings disableSpecificWarnings = new Sharpmake.Options.Vc.Compiler.DisableSpecificWarnings(warningsToIgnore);
        conf.Options.Add(disableSpecificWarnings);

        conf.VcxprojUserFile = new Sharpmake.Project.Configuration.VcxprojUserFileSettings();
        conf.VcxprojUserFile.LocalDebuggerWorkingDirectory = Puma.SharpmakeUtils.GetOutputPath();
    }