Re: [cmake-developers] [patch] Expose GNUInstallDirs absolute path algorithm

2016-09-06 Thread Roger Leigh
On 30/08/2016 14:53, Brad King wrote: On 08/28/2016 01:51 PM, Roger Leigh wrote: The macro name might need adjusting The idea looks fine to me. Typically we name module-provided APIs with the module name. How about "GNUInstallDirs_get_absolute_install_dir"? I'm also open to other suggestions

Re: [cmake-developers] [patch] Expose GNUInstallDirs absolute path algorithm

2016-08-30 Thread Brad King
On 08/28/2016 01:51 PM, Roger Leigh wrote: > The macro name might need adjusting The idea looks fine to me. Typically we name module-provided APIs with the module name. How about "GNUInstallDirs_get_absolute_install_dir"? I'm also open to other suggestions. Thanks, -Brad -- Powered by www.ki

[cmake-developers] [patch] Expose GNUInstallDirs absolute path algorithm

2016-08-28 Thread Roger Leigh
In several projects I've had a need to compute the "full" absolute path for an installation directory. The logic to do this is in the GNUInstallDirs module, used to compute the CMAKE_INSTALL_FULL_* variables for each of the CMAKE_INSTALL_* cache variables it defines. In order to allow for this