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

2014-08-20 Thread Chuck Atkins
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 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 wrote

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

2014-08-20 Thread Chuck Atkins
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 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 specif

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

2014-08-20 Thread Brad King
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 orde

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

2014-08-19 Thread Chuck Atkins
I just pushed a branch to the topic stage to address a long standing issue I've had with cross compiling and toolchain files. The branch, add-find-root-system_only-mode , adds a new SYSTEM_ONLY mode to the root path search options. Currently the possible options are: - ONLY - re-roots all sea