示例#1
0
        public override void RegisterBuildPlatforms()
        {
            LuminPlatformSDK SDK = new LuminPlatformSDK();

            SDK.ManageAndValidateSDK();

            if ((ProjectFileGenerator.bGenerateProjectFiles == true) || (SDK.HasRequiredSDKsInstalled() == SDKStatus.Valid) || Environment.GetEnvironmentVariable("IsBuildMachine") == "1")
            {
                bool bRegisterBuildPlatform = true;

                FileReference TargetPlatformFile = FileReference.Combine(UnrealBuildTool.EngineSourceDirectory, "Developer", "Lumin", "LuminTargetPlatform", "LuminTargetPlatform.Build.cs");
                if (FileReference.Exists(TargetPlatformFile) == false)
                {
                    bRegisterBuildPlatform = false;
                }

                if (bRegisterBuildPlatform == true)
                {
                    // Register this build platform
                    Log.TraceVerbose("        Registering for {0}", UnrealTargetPlatform.Lumin.ToString());
                    UEBuildPlatform.RegisterBuildPlatform(new LuminPlatform(SDK));
                    UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.Lumin, UnrealPlatformGroup.Android);
                }
            }
        }
        public override void RegisterBuildPlatforms()
        {
            LuminPlatformSDK SDK = new LuminPlatformSDK();

            SDK.ManageAndValidateSDK();

            // Register this build platform
            UEBuildPlatform.RegisterBuildPlatform(new LuminPlatform(SDK));
            UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.Lumin, UnrealPlatformGroup.Android);
        }