[CMake] Compiling dynamic source code
Brad King
brad.king at kitware.com
Wed Sep 27 08:49:25 EDT 2006
Littlejohn, Todd wrote:
> I am currently working on a project that auto-generating code based on a
> data model defined using XSD/XML. The code generator I have developed
> is using CMake to make the code generator. Next CMake is used to
> generate the C++ and Java data models. The problem I am having is how
> do I get CMake to compile the generated code. The problem I have is
> that the source files created for the data model's) (i.e., C++ and Java)
> can an will change when the XML data model evolves. I have reviewed the
> list documentation, lists, FAQs, and wiki for this. Most of the work is
> done at CMake creation time not at run-time. What I really need to do
> is enumerate the generated source after being auto-generated then have
> this somehow passed to the generated CMake generated makefiles. Any
> help would be greatly appreciated!
I'm not sure what you're asking. If CMake code is generating the
sources why doesn't it know the set of files it generates? Please list
the steps involved in the generation and what process is driving it.
Thanks,
-Brad
More information about the CMake
mailing list