[cmake-developers] target_include_directories branch in stage
Stephen Kelly
steveire at gmail.com
Mon Nov 7 17:26:46 EST 2011
Alexander Neundorf wrote:
>> For example:
>>
>> project(foo)
>> include_directories(${bar_INCLUDES})
>> add_library(foo_lib ...)
>> target_include_directories(foo CONFIG_TYPE DEBUG debug_helper.h)
>
> Do you think a new command is necessary, and set_property(TARGET ... ) is
> not good enough ?
I initially got it working just with the set_property command, but I
introduced the new custom command so that I could introduce the BEFORE
keyword.
A PREPEND keyword for set_property might be a better option.
Thanks,
Steve.
More information about the cmake-developers
mailing list