[cmake-developers] INTERFACE_INCLUDE_DIRECTORIES on STATIC libs
Stephen Kelly
steveire at gmail.com
Fri Feb 8 13:25:29 EST 2013
Brad King wrote:
> It does make sense to publish INTERFACE_INCLUDE_DIRECTORIES and
> INTERFACE_COMPILE_DEFINITIONS on object library targets, but we
> do not need to chain to them automatically.
I tried writing a unit test for this, but couldn't see why this would be
useful. Consumers of an object library don't use headers from it, do they?
Why then would include directories or compile definitions for them be
useful?
Thanks,
Steve.
More information about the cmake-developers
mailing list