Hello,
     May be this is a very simple question but... I have a fully qualified path 
name 

${CMAKE_BINAARY_DIR}/factFile.xml

and I do 

set(FACTILE ${CMAKE_BINARY_DIR}/facFile.xml)

I am defining in subdirectories custom targets depending on this file

define_custom_target(PACK-check ${FACTFILE})

and the dependency is generated as 

PACK-check: factFile.xml

instead of

PACK-check: <expansion of CMAKE_BINARY_DIR}>/factFile.xml

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, 


Federico Carminati
CERN-PH 
1211 Geneva 23
Switzerland
Tel: +41 22 76 74959
Fax: +41 22 76 68505
Mobile: +41 76 487 4843



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to