Esempio 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>();
        }
Esempio 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>();
            }
Esempio 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);
            }
        }
Esempio n. 6
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            arguments.Generate <ShipyardSolution>();
            arguments.Generate <ShipyardViewerSolution>();

            arguments.Generate <ShipyardUnitTestSolution>();

            arguments.Generate <SharpmakeSolution>();
        }
Esempio 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>();
        }
Esempio 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>();
        }
Esempio 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>();
        }
Esempio 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);
 }
Esempio n. 13
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FastBuildSettings.FastBuildMakeCommand = @"tools\FastBuild\FBuild.exe";

            arguments.Generate <FastBuildSolution>();
        }
Esempio n. 14
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <RynxCodegen>();
 }
Esempio n. 15
0
 public static void SharpmakeMain(Sharpmake.Arguments args)
 {
     KitsRootPaths.SetKitsRoot10ToHighestInstalledVersion();
     args.Generate <SimpleTestSolution>();
 }
Esempio 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>();
 }
Esempio n. 18
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <SolutionAll>();
     arguments.Generate <SolutionServer>();
     arguments.Generate <SolutionSample>();
 }
Esempio n. 19
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <RynxTechGame>();
 }
Esempio 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>();
 }
Esempio n. 22
0
    public static void SharpmakeMain(Sharpmake.Arguments arguments)
    {
        KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2019, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.Latest);

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