On Thu, Feb 23, 2012 at 9:57 PM, Oliver Smith <[email protected]> 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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
