Esempio n. 1
0
    /// <summary>
    /// Register the platform with the UEBuildPlatform class
    /// </summary>
    public override void RegisterBuildPlatforms()
    {
        XXXPlatformSDK SDK = new XXXPlatformSDK();

        SDK.ManageAndValidateSDK();

        // Register this build platform for XXX
        UEBuildPlatform.RegisterBuildPlatform(new XXXPlatform(SDK));
        UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.XXX, UnrealPlatformGroup.Fake);
    }
    /// <summary>
    /// Register the platform with the UEBuildPlatform class
    /// </summary>
    public override void RegisterBuildPlatforms()
    {
        XXXPlatformSDK SDK = new XXXPlatformSDK();

        SDK.ManageAndValidateSDK();

        // Make sure the SDK is installed
        if (SDK.HasRequiredSDKsInstalled() == SDKStatus.Valid)
        {
            // Register this build platform for XXX
            Log.TraceVerbose("        Registering for {0}", UnrealTargetPlatform.XXX.ToString());
            UEBuildPlatform.RegisterBuildPlatform(new XXXPlatform(SDK));
            UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.XXX, UnrealPlatformGroup.Fake);
        }
    }