<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Littlejohn, Todd wrote:
<blockquote
cite="midDD3761B99DC88F4284EDE00D608383C622601B@0088-its-exmp01.us.saic.com"
type="cite">
<meta http-equiv="Context-Type"
content="text/html; charset=iso-8859-1">
<div> All, </div>
<div> </div>
<div> 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! </div>
<div> <br>
</div>
</blockquote>
<br>
Seems like you'd need CMake to invoke a fully independent CMake. In
the 0th CMake, determine what build files you'll be needing for the 1st
stage, and write them out to files. Invoke the 1st CMake via a script,
read the input files, do the configurations with them.<br>
<br>
<br>
Cheers,<br>
Brandon Van Every<br>
<br>
<br>
</body>
</html>