[CMake] autoheader

Bill Hoffman bill.hoffman at kitware.com
Tue Mar 31 11:45:42 EDT 2009


James Bigler wrote:

> 
> 
> If this feature comes to fruition, I would like the ability to specify 
> which flags make it into what header.  In one project I worked on all 
> our configuration defines were in a single header.  This caused 
> extremely long recompiles if something happened to change the one 
> autoheader.  We eventually broke it into multiple files, and got 
> targeted recompiles.
> 
> I also like the idea of not having to have a configure.h.in 
> <http://configure.h.in> file like Hendrik Sattler suggested (put these 
> variables in this header here).
> 
Do you have an API suggestion?   What should this look like?

-Bill



More information about the CMake mailing list