[CMake] configuration input to cmake

Jun Sun jsun at junsun.net
Fri May 11 19:38:38 EDT 2007


On Fri, May 11, 2007 at 01:38:26PM -0400, Bill Hoffman wrote:
> Guilherme Balena Versiani wrote:
> >
> >
> >Jun Sun escreveu:
> >>My build process involves a configuration stage. It roughly looks like
> >>this:
> >>
> >>* Generate cmakefile.inc and config.h from .config file
> You may also want to look at the configure_file command.
>

Interesting - 

So I could just define the all config variables in cmakefile.inc
and then use cmake to generate the config.h file, looks like.

Thanks.

Jun 


More information about the CMake mailing list