2011/7/25 Brad King <brad.k...@kitware.com>:
> On 07/25/2011 12:00 PM, Daniel Pfeifer wrote:
>> what is your opinion on the $<> syntax I originally proposed?
>> This would not require creating virtual targets for header only libraries.
>
> The proposed solution is to use delayed evaluation to work around
> lack of dependency-sorted ordering.  The topological sort already
> used by the Boost CMake solves this problem in a better way.

The topological sort function is not used anymore in Boost.CMake.
Since we have circular dependencies, there is no chance in sorting the
modules in dependency-sorted order.

> The
> ITK project already does CMake-time module dependency detection
> and sorting using a similar approach.  It correctly handles the
> generation of include directories for each module.  It also handles
> header-only modules.

Does it also handle circular dependencies?

cheers, Daniel
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to