[CMake] Generating files during building

Alexander Neundorf a.neundorf-work at gmx.net
Thu May 31 08:33:12 EDT 2007


On Wednesday 30 May 2007 21:02, Brandon Van Every wrote:
> On 5/30/07, Gustavo <glab at iol.pt> wrote:
...

> > All these N files should be compiled into a .o file each, and linked to
> > the main binary in the end.
>
> Finding .o files is a real PITA.  So, you're going to want to generate
> your .c files, figure out which .c files you actually have, then do
> CMake as usual.

Yes, do the split at cmake-time time or earlier, then you know early enough 
which c files you will have.

Bye
Alex


More information about the CMake mailing list