On Jul 19, 2014, at 21:31 , Marvin Humphrey <[email protected]> wrote:
> 1. Search each dir added via add_source_dir, most recently added first. > 2. Search each dir added via add_include_dir, most recently added first. > 3. Search dirs derived from host-specific search paths in the same order that > the host would search for its own modules. +1. With that change, we shouldn’t need the ‘cf_system_include_dirs’ method from Clownfish::CFC::Perl::Build. > In the longer term, I'd like to get rid of add_source_dir() and specify source > files explicitly, which would make CFC's interface more like that of a > traditional compiler. That has implications for search path behavior as well > -- but the principle of deriving the Clownfish search path from the host > search path still holds. This might work for the Perl bindings, but it wouldn’t be very convenient for the C bindings which use the ‘cfc’ command-line utility. Nick
