[CMake] Is there a cookbook?

John Drescher drescherjm at gmail.com
Thu Feb 23 22:25:15 EST 2012


On Thu, Feb 23, 2012 at 9:57 PM, Oliver Smith <osmith at playnet.com> wrote:
> So it's late, and suddenly I find I can't remember how to configure cmake to
> compile any .xml file in a specific directory with an xml-to-header script
> we have. More importantly, I can't think of the right terms to find an
> answer, so I've spent a frustrating hour googling to no end.
>
> Is there not a cmake cookbook or recipie book someplace? I really don't feel
> like figuring out, yet again, how to tell cmake "for every .xml file in
> ${folder} run ${command} to produce ${output}.h"... :)
>

You probably want to do some type of file GLOBBING for that

John


More information about the CMake mailing list