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.


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to