<html><head></head><body><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>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; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<div style="margin: 0px 0px 10px"><b>Gesendet:</b> Mittwoch, 26. Februar 2014 um 12:48 Uhr<br/>
<b>Von:</b> "Manuel Klimek" <klimek@google.com><br/>
<b>An:</b> "clang-dev Developers" <cfe-dev@cs.uiuc.edu><br/>
<b>Betreff:</b> Re: [cfe-dev] Tooling: disable standard compile-run</div>

<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="legalize@xmission.com" target="_parent">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="530CEE52.90407@gmx.net" target="_parent">530CEE52.90407@gmx.net</a>>,

<div>    Robert Zimmermann <<a href="tsett@gmx.net" target="_parent">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 class="im HOEnZb">--<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 class="HOEnZb">
<div class="h5">_______________________________________________<br/>
cfe-dev mailing list<br/>
<a href="cfe-dev@cs.uiuc.edu" target="_parent">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 cfe-dev@cs.uiuc.edu <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></body></html>