On 09.12.2011 22:23, Brad King wrote:
On 12/9/2011 3:44 PM, Peter Kümmel wrote:
Maybe this is a bit late, but wouldn't it be much
simpler to get this feature with a namespace
inspired approach:
http://public.kitware.com/Bug/view.php?id=11793

I think the namespace approach will be more intrusive to implement,
and it is complementary to the much-needed per-target feature anyway.

All within a namespace has the same scope as an
add_subdirectory added target. This way we get more
than the 'target_include_directories' without adding
multiple target_* functions (which maybe will come).

We don't really need a target_include_directories command.  It will
be just a convenience on top of setting the INCLUDE_DIRECTORIES
target property with the set_property command.

Ah, I thought target_include_directories is the reason for the
new target property.


-Brad

--

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