On 02/14/2016 02:51 PM, Simon Richter wrote:
> CMake expects Windows style paths on MSYS, so use the cygpath utility to
> resolve them.
Thanks. Is that utility guaranteed to exist? IIRC the original MSYS
intentionally did not include such a utility.
In the past I've used a helper function like this:
native_path() {
cmd //c echo "$1" | sed 's/^"//;s/"$//'
}
to convert paths in a shell script without the cygpath tool.
-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