コード例 #1
0
        public override void ProcessArgs(IIgorStepHandler StepHandler)
        {
            if (IgorJobConfig.IsBoolParamSet(IgorBuildCommon.BuildFlag) && IgorJobConfig.IsBoolParamSet(BuildOculusFlag))
            {
                bool bWindows = false;
                bool bOSX     = false;
                bool bLinux   = false;

                IgorBuildDesktop.GetBuildTargetForCurrentJob(out bWindows, out bOSX, out bLinux);

                if (bWindows)
                {
                    StepHandler.RegisterJobStep(BuildOculusStep, this, BuildOculus);
                }
            }
        }
コード例 #2
0
        public override bool ShouldDrawInspectorForParams(string CurrentParams)
        {
            bool bBuilding           = IgorRuntimeUtils.IsBoolParamSet(CurrentParams, IgorBuildCommon.BuildFlag);
            bool bRecognizedPlatform = false;

            if (bBuilding)
            {
                bool bWindows = false;
                bool bOSX     = false;
                bool bLinux   = false;

                IgorBuildDesktop.GetBuildTargetForCurrentJob(out bWindows, out bOSX, out bLinux, CurrentParams);

                bRecognizedPlatform = bWindows;
            }

            return(bBuilding && bRecognizedPlatform);
        }