コード例 #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>();
        }
コード例 #2
0
        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>();
        }
コード例 #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>();
        }
コード例 #4
0
            public static void SharpmakeMain(Sharpmake.Arguments arguments)
            {
                FastBuildSettings.FastBuildMakeCommand   = @"tools\FastBuild\FBuild.exe";
                FastBuildSettings.WriteAllConfigsSection = true;

                arguments.Generate <FastBuildFunctionalTestSolution>();
            }
コード例 #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);
            }
        }
コード例 #6
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            arguments.Generate <ShipyardSolution>();
            arguments.Generate <ShipyardViewerSolution>();

            arguments.Generate <ShipyardUnitTestSolution>();

            arguments.Generate <SharpmakeSolution>();
        }
コード例 #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>();
        }
コード例 #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>();
        }
コード例 #9
0
ファイル: main.sharpmake.cs プロジェクト: mafaucher/Sharpmake
        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>();
        }
コード例 #10
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;

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

            Bff.UnityResolver = new Bff.FragmentUnityResolver();

            arguments.Generate <FastBuildFunctionalTestSolution>();
        }
コード例 #11
0
        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>();
        }
コード例 #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);
 }
コード例 #13
0
        public static void SharpmakeMain(Sharpmake.Arguments arguments)
        {
            FastBuildSettings.FastBuildMakeCommand = @"tools\FastBuild\FBuild.exe";

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

            arguments.Generate <QTFileCustomBuildSolution>();
        }
コード例 #17
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <SolutionZenAll>();
 }
コード例 #18
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <SolutionAll>();
     arguments.Generate <SolutionServer>();
     arguments.Generate <SolutionSample>();
 }
コード例 #19
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <RynxTechGame>();
 }
コード例 #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>();
 }
コード例 #21
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <PreBuildStepDependencySolution>();
 }
コード例 #22
0
ファイル: Main.sharpmake.cs プロジェクト: 9matan/mimax
    public static void SharpmakeMain(Sharpmake.Arguments arguments)
    {
        KitsRootPaths.SetUseKitsRootForDevEnv(DevEnv.vs2019, KitsRootEnum.KitsRoot10, Options.Vc.General.WindowsTargetPlatformVersion.Latest);

        arguments.Generate <MimaxSolution>();
    }
コード例 #23
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <SimpleProject>();
 }
コード例 #24
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <PutkaGame>();
 }
コード例 #25
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Puma.Gfx2dAppSolution>();
     //sharpmakeArgs.Generate<Puma.ExternSolution>();
 }
コード例 #26
0
ファイル: sharpmake.main.cs プロジェクト: fpuma/UtilsLibrary
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Puma.UtilsSolution>();
 }
コード例 #27
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <CSharpVsixSolution>();
 }
コード例 #28
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Puma.PhysicsSolution>();
     sharpmakeArgs.Generate <Puma.ExternSolution>();
 }
コード例 #29
0
 public static void SharpmakeMain(Sharpmake.Arguments arguments)
 {
     arguments.Generate <HelloWorldSolution>();
 }
コード例 #30
0
 public static void SharpmakeMain(Sharpmake.Arguments sharpmakeArgs)
 {
     sharpmakeArgs.Generate <Example.Solutions.ExampleSolution>();
     sharpmakeArgs.Generate <Example.Solutions.ExternExampleSolution>();
 }