[cmake-developers] Interface includes and defines plumbing

Brad King brad.king at kitware.com
Wed Jan 16 13:27:18 EST 2013


On 01/08/2013 09:07 AM, Stephen Kelly wrote:
> Done now, thanks.

Currently target_include_directories cannot be used with a RHS target
that has not yet been created.  This could be problematic for projects
that want circular include dependencies, especially with targets in
sibling directories.

Can the "non-target/relative-path argument" error be moved to generate
time when $<TARGET_PROPERTY:INTERFACE_INCLUDE_DIRECTORIES,BadTarget>
is evaluated?  Does this make sense?

-Brad



More information about the cmake-developers mailing list