[cmake-developers] Add a new SYSTEM_ONLY mode for CMAKE_FIND_ROOT_PATH

Chuck Atkins chuck.atkins at kitware.com
Wed Aug 20 10:33:53 EDT 2014


The branch has been updated on the stage to retain search path order.

- Chuck


On Wed, Aug 20, 2014 at 9:10 AM, Chuck Atkins <chuck.atkins at kitware.com>
wrote:

> I was trying to avoid the code duplication but I definitely see your
> point.  I'll refactor.
>
> - Chuck
>
>
> On Wed, Aug 20, 2014 at 8:55 AM, Brad King <brad.king at kitware.com> wrote:
>
>> On 08/19/2014 05:43 PM, Chuck Atkins wrote:
>> > The new hybrid mode allows the default search location to be
>> > re-rooted and any user specified paths to be untouched.
>>
>> This looks useful.  However, the current implementation appears
>> to change the order in which each kind of path is generated.
>> The order is very important and cannot be changed.
>>
>> Instead you'll have to refactor the path generation to store
>> a boolean with each value that indicates whether it is to be
>> re-rooted or not.  Or, re-arrange the generation to construct
>> separate lists of paths from each source first, and then
>> combine them while re-rooting some.
>>
>> Thanks,
>> -Brad
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Kitware offers various services to support the CMake community. For more
>> information on each offering, please visit:
>>
>> CMake Support: http://cmake.org/cmake/help/support.html
>> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>> CMake Training Courses: http://cmake.org/cmake/help/training.html
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/cmake-developers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140820/d0477ff0/attachment-0002.html>


More information about the cmake-developers mailing list