On 10/04/2012 12:38 PM, Dan Furlani wrote:
> Thanks for the response.  I considered that, it would solve the
> problem for the codegen, but then CMake wouldn't be aware of the
> (legitimate) dependency when it builds the program code.

If you hide it behind a function-like macro then you can use
the IMPLICIT_DEPENDS_INCLUDE_TRANSFORM to tell the targets
where you want the dependency how to get it:

 
http://www.cmake.org/cmake/help/v2.8.9/cmake.html#prop_tgt:IMPLICIT_DEPENDS_INCLUDE_TRANSFORM

-Brad
--

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