Ejemplo n.º 1
0
 public override bool Execute()
 {
     if (AppleSdkSettings.XcodeVersion.Major >= 11)
     {
         EnvironmentVariables = EnvironmentVariables.CopyAndAdd($"SDKROOT={SdkRoot}");
     }
     return(base.Execute());
 }
Ejemplo n.º 2
0
        public override bool Execute()
        {
            var dir = Path.GetDirectoryName(OutputLibrary);

            if (!Directory.Exists(dir))
            {
                Directory.CreateDirectory(dir);
            }

            if (AppleSdkSettings.XcodeVersion.Major >= 11)
            {
                EnvironmentVariables = EnvironmentVariables.CopyAndAdd($"SDKROOT={SdkRoot}");
            }

            return(base.Execute());
        }