Example #1
0
        /// <summary>
        /// Register the platform with the UEBuildPlatform class
        /// </summary>
        public override void RegisterBuildPlatforms()
        {
            HoloLensPlatformSDK SDK = new HoloLensPlatformSDK();

            SDK.ManageAndValidateSDK();

            UEBuildPlatform.RegisterBuildPlatform(new HoloLens(UnrealTargetPlatform.HoloLens, SDK));
            UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.HoloLens, UnrealPlatformGroup.Microsoft);
            UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.HoloLens, UnrealPlatformGroup.HoloLens);
        }
Example #2
0
        /// <summary>
        /// Register the platform with the UEBuildPlatform class
        /// </summary>
        public override void RegisterBuildPlatforms()
        {
            HoloLensPlatformSDK SDK = new HoloLensPlatformSDK();

            SDK.ManageAndValidateSDK();

            // Register this build platform for HoloLens
            if (SDK.HasRequiredSDKsInstalled() == SDKStatus.Valid)
            {
                Log.TraceVerbose("		Registering for {0}", UnrealTargetPlatform.HoloLens.ToString());
                UEBuildPlatform.RegisterBuildPlatform(new HoloLens(UnrealTargetPlatform.HoloLens, SDK));
                UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.HoloLens, UnrealPlatformGroup.Microsoft);
                UEBuildPlatform.RegisterPlatformWithGroup(UnrealTargetPlatform.HoloLens, UnrealPlatformGroup.HoloLens);
            }
        }