[cmake-developers] target_include_directories branch in stage

Brad King brad.king at kitware.com
Wed Feb 22 08:17:05 EST 2012


On 2/22/2012 8:05 AM, David Cole wrote:
> So the most recent commit in the topic branch, which adds
> documentation for the target level property, appears useless... Should
> we eliminate the directory level documentation as well? Or emit both?

Emit both and explain their interaction.  The documentation
for each will be a bit different because each plays a unique
role.  The include_directories command should document just
how it sets the dir-level and target-level properties.  The
dir-level property should document that it is used to init
the target-level property for new targets.  The target-level
one should document that it is used as the actual source of
include directories for compilation.

-Brad



More information about the cmake-developers mailing list