On 07/19/2013 06:11 AM, Stephen Kelly wrote: > Brad King wrote: >> Thanks for working on this. Please update the documentation >> of tll() to mention this behavior. >> >> Also, the use of CollapseFullPath to evaluate "/.." seems more >> complicated than necessary. A single CollapseFullPath of the >> original input followed by a check against a pre-compiled regex >> can check for framework paths in one step. > > What would such a regex look like?
Perhaps something like (\.framework)(/Versions/[^/]+)?/[^/]+$ -Brad -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
