<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06/21/2012 10:07 AM, Manuel Klimek
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOsfVvkHZAh1SVpauQZSUOQreVDQV1jDw4F02=j1ALi1uZ0LyQ@mail.gmail.com"
      type="cite">
      <div style="font-family: arial, helvetica, sans-serif"><font
          size="2">
          <div class="gmail_quote">The reason why you might want a
            slightly diffferent file format is the key.
            <div>For the compilation database, the usual question is
              "how do I parse this TU?". What would you key on for link
              commands? The output file?</div>
            <div><br>
            </div>
            <br>
          </div>
        </font></div>
    </blockquote>
    <br>
    Hi Manuel,<br>
    <br>
    Even in your usual case --- "how do I parse this TU" --- the input
    file is not a discriminating key : this is why we get
    CompileCommands from the CompilationDatabase. At some point, you
    need to choose one CompilationCommand amongst several. I believe the
    real discriminating key is the ouput file (with the build system I
    know). Beside, this would enable other usages for the
    CompilationDatabase. It seems to me it is good to have the input
    file as a key, but this is not enough.<br>
    <br>
    Cheers,<br>
    <pre class="moz-signature" cols="72">-- 
Arnaud de Grandmaison
</pre>
  </body>
</html>