[cmake-developers] target_include_directories branch in stage

Brad King brad.king at kitware.com
Mon Nov 7 12:57:53 EST 2011


On 11/6/2011 5:49 PM, Stephen Kelly wrote:
> Stephen Kelly wrote:
>> Issues:
>> * I have only tried to implement this with the makefile generator and have
>> so far only tested it with "Unix Makefiles". One of the bugs says XCode
>> can't do source-level includes. Can it do target-level includes? Would I
>> have to implement this for all generators before it would be considered
>> for acceptance?
>> * There's scope for refactoring the new code in my branch as well as
>> potentially refactoring with the cmIncludeDirectoriesCommand.
>> * There's scope for optimization.
>> * I haven't written any tests yet.
>>
>
> Related to Alex's remarks, there may also be scope for PUBLIC_INCLUDES and
> PRIVATE_INCLUDES keywords.
>
> http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/39090/focus=39200

This is a separate problem.  It is about propagating include directories
through "usage requirements" of a library, just like the link interface.
Let's start with per-target/config include directories.

-Brad



More information about the cmake-developers mailing list