<p>You have a number of typos there - are you sure that'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, "Carminati Federico" <<a href="mailto:federico.carminati@cern.ch">federico.carminati@cern.ch</a>> wrote:<br type="attribution">> Hello,<br>> May be this is a very simple question but... I have a fully qualified path name <br>
> <br>> ${CMAKE_BINAARY_DIR}/factFile.xml<br>> <br>> and I do <br>> <br>> set(FACTILE ${CMAKE_BINARY_DIR}/facFile.xml)<br>> <br>> I am defining in subdirectories custom targets depending on this file<br>
> <br>> define_custom_target(PACK-check ${FACTFILE})<br>> <br>> and the dependency is generated as <br>> <br>> PACK-check: factFile.xml<br>> <br>> instead of<br>> <br>> PACK-check: <expansion of CMAKE_BINARY_DIR}>/factFile.xml<br>
> <br>> 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>> <br>> <br>
> Federico Carminati<br>> CERN-PH <br>> 1211 Geneva 23<br>> Switzerland<br>> Tel: +41 22 76 74959<br>> Fax: +41 22 76 68505<br>> Mobile: +41 76 487 4843<br>> <br>> <br>> <br>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>> <br>> 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>
> <br>> 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>> <br>> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></div>