<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">here are my 2 cents of experience with it:</div><div class="">1) you can use the -G”Ninja” code generator. It works on Windows too and it can generate compilation databases.</div><div class="">2) it you only use the standard headers, you can use "clang-tidy foo.cpp — -fms-compatibility-version=19” from the visual studio command line and it’ll find the standard headers without any problems.</div><div class=""><br class=""></div><div class="">Regards</div><div class="">Toibas </div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 04 Sep 2015, at 18:43, Manuel Klimek via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div dir="ltr" class="">On Fri, Sep 4, 2015 at 6:40 PM Richard via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="">
In article <CAOsfVv=<a href="mailto:QAgkYsADBo6zMxB8mn8MBKdr56Tqzh3Prnntj-6ukLw@mail.gmail.com" target="_blank" class="">QAgkYsADBo6zMxB8mn8MBKdr56Tqzh3Prnntj-6ukLw@mail.gmail.com</a>>,<br class="">
Manuel Klimek via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a>> writes:<br class="">
<br class="">
> The easiest way to get there is to use CMake, and have it output a<br class="">
> compilation database (see the description how to do this for LLVM, it's<br class="">
> very similar: <a href="http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html" rel="noreferrer" target="_blank" class="">http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html</a>)<br class="">
<br class="">
Unless they've changed it, this doesn't work on Windows.<br class=""></blockquote><div class=""><br class=""></div><div class="">Ah, right, sorry. My mistake. Do we have anything on Windows to generate compile_commands.json? (I think I remember something, but then again, my memory is really bad :)</div><div class=""> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
--<br class="">
"The Direct3D Graphics Pipeline" free book <<a href="http://tinyurl.com/d3d-pipeline" rel="noreferrer" target="_blank" class="">http://tinyurl.com/d3d-pipeline</a>><br class="">
The Computer Graphics Museum <<a href="http://computergraphicsmuseum.org/" rel="noreferrer" target="_blank" class="">http://ComputerGraphicsMuseum.org</a>><br class="">
The Terminals Wiki <<a href="http://terminals.classiccmp.org/" rel="noreferrer" target="_blank" class="">http://terminals.classiccmp.org</a>><br class="">
Legalize Adulthood! (my blog) <<a href="http://legalizeadulthood.wordpress.com/" rel="noreferrer" target="_blank" class="">http://LegalizeAdulthood.wordpress.com</a>><br class="">
_______________________________________________<br class="">
cfe-dev mailing list<br class="">
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank" class="">cfe-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br class="">
</blockquote></div></div>
_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></body></html>