<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 31/01/2017 23:34, Craig Scott wrote:<br>
    </div>
    <blockquote
cite="mid:CA+dygYncg=_Ac9wjRwn7xAxenU3T9ry5VjyNHwsYzVZVaK5Xqg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote"><br>
            <div>If you need to set CCACHE_DIR as an environment
              variable, then my previous email shows how to embed that
              in the launcher script, which will work for both Xcode and
              Linux (since the same launcher script is ultimately being
              invoked for both cases). All that said, I've never needed
              to set CCACHE_DIR and I mix OSX and iOS builds on the same
              machine. As has already been mentioned by someone else,
              ccache is smart enough to recognise the two builds as
              different because the command lines will be different,
              hence you don't get an iOS object file for a OSX build,
              for example.</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    To that, I will add that ccache is certainly smart enough to save
    both iOS, macOS or Android builds in the same cache, but you need to
    be careful and maybe set higher limits for the cache size folder as
    the default one might not be suitable for your usage.<br>
    See the documentation on how to set it higher.<br>
    <br>
    /Florent<br>
  </body>
</html>