<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I have something like:<br>
<blockquote><tt>ADD_CUSTOM_COMMAND(<br>
&nbsp;&nbsp;&nbsp; OUTPUT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${BUILD_FOLDER}/file-A.txt<br>
&nbsp;&nbsp;&nbsp; COMMAND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${XSLT}<br>
&nbsp;&nbsp;&nbsp; ARGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --output ${</tt><tt>BUILD_FOLDER</tt><tt>}/file-A.txt
A.xslt file.xml<br>
&nbsp;&nbsp;&nbsp; DEPENDS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file.xml A.xslt<br>
)<br>
  <br>
ADD_CUSTOM_COMMAND(<br>
&nbsp;&nbsp;&nbsp; OUTPUT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${BUILD_FOLDER}/file-B.txt<br>
&nbsp;&nbsp;&nbsp; COMMAND&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ${XSLT}<br>
&nbsp;&nbsp;&nbsp; ARGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --output ${</tt><tt>BUILD_FOLDER</tt><tt>}/file-B.txt
B.xslt file.xml<br>
&nbsp;&nbsp;&nbsp; DEPENDS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file.xml B.xslt<br>
)<br>
  </tt></blockquote>
When I run cmake, only file-A.txt is built. If I reverse the stanzas
for file-A.txt and file-B.txt, then only file-B.txt is built.<br>
<br>
It seems as if only the first target that depends on a file gets built.
How do I get cmake to build them all?<br>
<br>
I'm running cmake 2.4.<br>
<br>
Thanks!<br>
<br>
giuliano<br>
<br>
<pre class="moz-signature" cols="72">-- 

giuliano carlini | coder
Aleri - Continuous IntelligenceTM
82 Pioneer Way #106 | Mountain View, CA 94041 | USA
Cell: 650.483.7648 | Office: 650.210.3830 | Fax: 312.210.3811
<a class="moz-txt-link-abbreviated" href="mailto:giuliano.carlini@aleri.com">giuliano.carlini@aleri.com</a> | <a class="moz-txt-link-freetext" href="http://www.aleri.com">http://www.aleri.com</a></pre>
</body>
</html>