[cfe-dev] Tooling: disable standard compile-run

Richard legalize at xmission.com
Tue Feb 25 10:03:29 PST 2014


In article <CAOsfVv=JZx+QY-YTe+Eg7yiFwUE8cU4O7zUeYYcTM-dUT+UCKQ at mail.gmail.com>,
    Manuel Klimek <klimek at google.com> writes:

> The solution we have for this is to use a CompilationDatabase. As you're on
> Windows, and I've never looked into how well the CMake generated ones work
> there, I'd suggest to start with a FixedCompilationDatabase [1], and add
> the full set of -I flag the compiler would also see there.

CMake on Windows doesn't generate compilation databases at all.

You have to hack one up manually yourself, but it's not hard.

See the section titles "The Compilation Database" here:
<https://github.com/LegalizeAdulthood/remove-void-args>
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>



More information about the cfe-dev mailing list