[CMake] [ryppl-dev] Re: $<> expressions in include_directories command
Daniel Pfeifer
purplekarrot at gmail.com
Mon Jul 25 14:17:48 EDT 2011
2011/7/25 Brad King <brad.king at 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
More information about the CMake
mailing list