<p>You have a number of typos there - are you sure that&#39;s not the problem?</p>
<p>CMAKE_BINAARY_DIR<br>
Factfile v. Facfile<br>
FACTILE v. FACTFILE</p>
<p>Mm</p>
<div class="gmail_quote">On Feb 8, 2011 6:48 PM, &quot;Carminati Federico&quot; &lt;<a href="mailto:federico.carminati@cern.ch">federico.carminati@cern.ch</a>&gt; wrote:<br type="attribution">&gt; Hello,<br>&gt;      May be this is a very simple question but... I have a fully qualified path name <br>
&gt; <br>&gt; ${CMAKE_BINAARY_DIR}/factFile.xml<br>&gt; <br>&gt; and I do <br>&gt; <br>&gt; set(FACTILE ${CMAKE_BINARY_DIR}/facFile.xml)<br>&gt; <br>&gt; I am defining in subdirectories custom targets depending on this file<br>
&gt; <br>&gt; define_custom_target(PACK-check ${FACTFILE})<br>&gt; <br>&gt; and the dependency is generated as <br>&gt; <br>&gt; PACK-check: factFile.xml<br>&gt; <br>&gt; instead of<br>&gt; <br>&gt; PACK-check: &lt;expansion of CMAKE_BINARY_DIR}&gt;/factFile.xml<br>
&gt; <br>&gt; Obviously when I am in the subdir I have the message that there is no way to build factFile.xml which is considered local to the subdirectory...  I hope I have been clear. Please help. Thanks, <br>&gt; <br>&gt; <br>
&gt; Federico Carminati<br>&gt; CERN-PH <br>&gt; 1211 Geneva 23<br>&gt; Switzerland<br>&gt; Tel: +41 22 76 74959<br>&gt; Fax: +41 22 76 68505<br>&gt; Mobile: +41 76 487 4843<br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>&gt; <br>&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt; <br>&gt; Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></div>