<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 26, 2014 at 1:48 PM, Robert Zimmermann <span dir="ltr"><<a href="mailto:tsett@gmx.net" target="_blank">tsett@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div> Hello again,</div>

<div>I looked into this stuff with the CompilationDatabase.</div>

<div>I think my problem is a little bit another.</div>

<div> </div>

<div>The tool is called like for a single file like that:</div>

<div>check-tool <tool-flags> <file> -- <compiler-flags></div>

<div>Thus, I should already have a Database.</div>

<div>
<div> </div>

<div>When the tool is called for a C++-File it gives an error like: missing <map></div>

<div>When I add all the directories where these files should be located (e.g. -I$(MINGWPATH)\lib\gcc\mingw32\4.8.1\include\c++) to the compiler-flags and I got strange compiler errors.</div></div></div></div></div></blockquote>
<div><br></div><div>Seeing those compile errors would be interesting... ;)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px">
<div><div>

<div> </div>

<div>Best,</div>

<div>Robert</div>

<div name="quote" style="border-left:#c3d9e5 2px solid;padding-bottom:10px;margin:10px 5px 5px 10px;padding-left:10px;padding-right:0px;word-wrap:break-word;padding-top:10px">
<div style="margin:0px 0px 10px"><b>Gesendet:</b> Mittwoch, 26. Februar 2014 um 12:48 Uhr<br>
<b>Von:</b> "Manuel Klimek" <<a href="mailto:klimek@google.com" target="_blank">klimek@google.com</a>><br>
<b>An:</b> "clang-dev Developers" <<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a>><br>
<b>Betreff:</b> Re: [cfe-dev] Tooling: disable standard compile-run</div><div><div class="h5">

<div name="quoted-content">
<div>
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Feb 25, 2014 at 9:41 PM, Richard <span><<a href="http://legalize@xmission.com" target="_blank">legalize@xmission.com</a>></span> wrote:

<blockquote class="gmail_quote" style="border-left:rgb(204,204,204) 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex"><br>
In article <<a href="http://530CEE52.90407@gmx.net" target="_blank">530CEE52.90407@gmx.net</a>>,

<div>    Robert Zimmermann <<a href="http://tsett@gmx.net" target="_blank">tsett@gmx.net</a>> writes:<br>
<br>
> Thanks for the answers.<br>
> I will look through the stuff and write my experience then.<br>
 </div>
Obviously the "hack yourself one together" in an editor approach<br>
doesn't scale.<br>
<br>
For more than one file (i.e. compiling an entire code base), you can<br>
do a clean build with VS and then write a script to generate the<br>
compilation database from the VS log file, which includes the full<br>
compilation command for every source file.</blockquote>

<div> </div>

<div>I think it's probably easier to change CMake to output them for Windows (and would benefit everybody ;) than to re-parse the output. If somebody wants hints, just drop me a mail and I'm happy to point you in the right direction.</div>


<div> </div>

<div> </div>

<blockquote class="gmail_quote" style="border-left:rgb(204,204,204) 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex">
<div>--<br>
"The Direct3D Graphics Pipeline" free book <<a href="http://tinyurl.com/d3d-pipeline" target="_blank">http://tinyurl.com/d3d-pipeline</a>><br>
     The Computer Graphics Museum <<a href="http://ComputerGraphicsMuseum.org" target="_blank">http://ComputerGraphicsMuseum.org</a>><br>
         The Terminals Wiki <<a href="http://terminals.classiccmp.org" target="_blank">http://terminals.classiccmp.org</a>><br>
  Legalize Adulthood! (my blog) <<a href="http://LegalizeAdulthood.wordpress.com" target="_blank">http://LegalizeAdulthood.wordpress.com</a>></div>

<div>
<div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="http://cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a></div>
</div>
</blockquote>
</div>
</div>
</div>
_______________________________________________ cfe-dev mailing list <a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a></div>

</div></div></div>
</div>
</div></div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>