Ejemplo n.º 1
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FastBuildSettings.FastBuildMakeCommand = @"..\..\..\tools\FastBuild\Windows-x64\FBuild.exe";
            KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2017, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.v10_0_17763_0);

            arguments.Generate <CustomBuildStepSolution>();
        }
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            CommandLine.ExecuteOnType(typeof(FunctionalTestArguments));

            FileInfo fileInfo = Util.GetCurrentSharpmakeFileInfo();
            string   sharpmakeRootDirectory = Util.SimplifyPath(Path.Combine(fileInfo.DirectoryName, "..", ".."));

            FastBuildSettings.FastBuildMakeCommand   = Path.Combine(sharpmakeRootDirectory, @"tools\FastBuild\Windows-x64\FBuild.exe");
            FastBuildSettings.FastBuildWait          = true;
            FastBuildSettings.WriteAllConfigsSection = true;

            // This is just to insure that we are able to generate some custom property section when referenced from a Compiler section
            FastBuildSettings.AdditionalPropertyGroups.Add("function TestCustomProperties()", new List <string> {
                "Print('Hello Custom Property')", "Print('Hello Custom Property2')"
            });
            FastBuildSettings.AdditionalCompilerPropertyGroups.Add("Compiler-x64-vs2019", "function TestCustomProperties()");
            FastBuildSettings.AdditionalCompilerSettings.Add("Compiler-x64-vs2019", new List <string> {
                "TestCustomProperties()"
            });

            KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2019, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.v10_0_19041_0);

            Bff.UnityResolver = new Bff.FragmentUnityResolver();

            arguments.Generate <FastBuildFunctionalTestSolution>();
        }
Ejemplo n.º 3
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2017, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.v10_0_17763_0);
            KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2019, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.v10_0_19041_0);

            arguments.Generate <TheSolution>();
        }
            public static void SharpmakeMain(Sharpmake.Arguments arguments)
            {
                FastBuildSettings.FastBuildMakeCommand   = @"tools\FastBuild\FBuild.exe";
                FastBuildSettings.WriteAllConfigsSection = true;

                arguments.Generate <FastBuildFunctionalTestSolution>();
            }
Ejemplo n.º 5
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            ConfigureRootDirectory();
            ConfigureAutoCleanup();

            FastBuildSettings.FastBuildWait             = true;
            FastBuildSettings.FastBuildSummary          = false;
            FastBuildSettings.FastBuildNoSummaryOnError = true;
            FastBuildSettings.FastBuildDistribution     = false;
            FastBuildSettings.FastBuildMonitor          = true;
            FastBuildSettings.FastBuildAllowDBMigration = true;

            // for the purpose of this sample, we'll reuse the FastBuild executables that live in the sharpmake source repo
            string sharpmakeFastBuildDir = Util.PathGetAbsolute(Globals.RootDirectory, @"..\..\..\tools\FastBuild");

            switch (Util.GetExecutingPlatform())
            {
            case Platform.mac:
                FastBuildSettings.FastBuildMakeCommand = Path.Combine(sharpmakeFastBuildDir, "FBuild");
                break;

            case Platform.win64:
            default:
                FastBuildSettings.FastBuildMakeCommand = Path.Combine(sharpmakeFastBuildDir, "FBuild.exe");
                break;
            }

            Bff.UnityResolver = new Bff.FragmentUnityResolver();

            foreach (Type solutionType in Assembly.GetExecutingAssembly().GetTypes().Where(t => !t.IsAbstract && t.IsSubclassOf(typeof(CommonSolution))))
            {
                arguments.Generate(solutionType);
            }
        }
Ejemplo n.º 6
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            arguments.Generate <ShipyardSolution>();
            arguments.Generate <ShipyardViewerSolution>();

            arguments.Generate <ShipyardUnitTestSolution>();

            arguments.Generate <SharpmakeSolution>();
        }
Ejemplo n.º 7
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            ConfigureQt5Directory();

            FastBuildSettings.FastBuildMakeCommand = @"\tools\FastBuild\start-fbuild.bat";

            KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2017, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.v10_0_17763_0);

            arguments.Generate <QTFileCustomBuildSolution>();
        }
Ejemplo n.º 8
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FileInfo fileInfo = Util.GetCurrentSharpmakeFileInfo();
            string   sharpmakeRootDirectory = Util.SimplifyPath(Path.Combine(fileInfo.DirectoryName, "..", ".."));

            FastBuildSettings.FastBuildMakeCommand   = Path.Combine(sharpmakeRootDirectory, @"tools\FastBuild\Windows-x64\FBuild.exe");
            FastBuildSettings.FastBuildWait          = true;
            FastBuildSettings.WriteAllConfigsSection = true;

            Bff.UnityResolver = new Bff.FragmentUnityResolver();

            arguments.Generate <FastBuildFunctionalTestSolution>();
        }
Ejemplo n.º 9
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FileInfo sharpmakeFileInfo      = Util.GetCurrentSharpmakeFileInfo();
            string   sharpmakeFileDirectory = Util.PathMakeStandard(sharpmakeFileInfo.DirectoryName);
            string   absoluteRootPath       = Util.PathGetAbsolute(sharpmakeFileDirectory, @"..\tmp");

            // This is necessary since there is no rc.exe in the same directory than link.exe
            FastBuildSettings.SetPathToResourceCompilerInEnvironment = true;
            FastBuildSettings.FastBuildMakeCommand = Util.PathGetAbsolute(sharpmakeFileDirectory, @"..\..\..\tools\FastBuild\Windows-x64\FBuild.exe");

            Util.FilesAutoCleanupDBPath = absoluteRootPath;
            Util.FilesAutoCleanupActive = true;
            arguments.Generate <VCPKGSampleSolution>();
        }
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FileInfo fileInfo = Util.GetCurrentSharpmakeFileInfo();
            string   sharpmakeRootDirectory = Util.SimplifyPath(Path.Combine(fileInfo.DirectoryName, "..", ".."));

            FastBuildSettings.FastBuildMakeCommand   = Path.Combine(sharpmakeRootDirectory, @"tools\FastBuild\Windows-x64\FBuild.exe");
            FastBuildSettings.FastBuildWait          = true;
            FastBuildSettings.WriteAllConfigsSection = true;

            KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2019, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.v10_0_19041_0);

            Bff.UnityResolver = new Bff.FragmentUnityResolver();

            arguments.Generate <FastBuildFunctionalTestSolution>();
        }
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            ConfigureRootDirectory();

            // for the purpose of this sample, we'll reuse the FastBuild executable that live in the sharpmake source repo
            string sharpmakeFastBuildDir = Util.PathGetAbsolute(Globals.RootDirectory, @"..\..\..\tools\FastBuild");

            FastBuildSettings.FastBuildMakeCommand = Path.Combine(sharpmakeFastBuildDir, "Windows-x64", "FBuild.exe");

            // This is necessary since there is no rc.exe in the same directory than link.exe
            FastBuildSettings.SetPathToResourceCompilerInEnvironment = true;

            KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2019, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.v10_0_19041_0);

            arguments.Generate <FastBuildSolution>();
        }
Ejemplo n.º 12
0
 /// <summary>
 /// Generates debug projects and solutions
 /// </summary>
 /// <param name="sources"></param>
 /// <param name="arguments"></param>
 /// <param name="startArguments"></param>
 public static void GenerateDebugSolution(string[] sources, Arguments arguments, string startArguments)
 {
     GenerateDebugSolution(sources, arguments, startArguments, null);
 }
Ejemplo n.º 13
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FastBuildSettings.FastBuildMakeCommand = @"tools\FastBuild\FBuild.exe";

            arguments.Generate <FastBuildSolution>();
        }
Ejemplo n.º 14
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <RynxCodegen>();
 }
Ejemplo n.º 15
0
 public static void SharpmakeMain(Sharpmake.Arguments args)
 {
     KitsRootPaths.SetKitsRoot10ToHighestInstalledVersion();
     args.Generate <SimpleTestSolution>();
 }
Ejemplo n.º 16
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FastBuildSettings.FastBuildMakeCommand = @"\tools\FastBuild\start-fbuild.bat";

            arguments.Generate <QTFileCustomBuildSolution>();
        }
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <SolutionZenAll>();
 }
Ejemplo n.º 18
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <SolutionAll>();
     arguments.Generate <SolutionServer>();
     arguments.Generate <SolutionSample>();
 }
Ejemplo n.º 19
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <RynxTechGame>();
 }
Ejemplo n.º 20
0
 /// <summary>
 /// Generates debug projects and solutions
 /// </summary>
 /// <param name="sources"></param>
 /// <param name="arguments"></param>
 /// <param name="startArguments"></param>
 /// <param name="defines"></param>
 public static void GenerateDebugSolution(string[] sources, Arguments arguments, string startArguments, string[] defines)
 {
     FindAllSources(sources, arguments, startArguments, defines);
     arguments.Generate <DebugSolution>();
 }
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <PreBuildStepDependencySolution>();
 }
Ejemplo n.º 22
0
    public static void SharpmakeMain(Sharpmake.Arguments arguments)
    {
        KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2019, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.Latest);

        arguments.Generate <MimaxSolution>();
    }
Ejemplo n.º 23
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <SimpleProject>();
 }
Ejemplo n.º 24
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <PutkaGame>();
 }
Ejemplo n.º 25
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Puma.Gfx2dAppSolution>();
     //sharpmakeArgs.Generate<Puma.ExternSolution>();
 }
Ejemplo n.º 26
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Puma.UtilsSolution>();
 }
Ejemplo n.º 27
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <CSharpVsixSolution>();
 }
Ejemplo n.º 28
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Puma.PhysicsSolution>();
     sharpmakeArgs.Generate <Puma.ExternSolution>();
 }
Ejemplo n.º 29
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <HelloWorldSolution>();
 }
Ejemplo n.º 30
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Example.Solutions.ExampleSolution>();
     sharpmakeArgs.Generate <Example.Solutions.ExternExampleSolution>();
 }