Hello,

On Windows, is there any better way to strip out drive letter from path besides 
using REGEX REPLACE? I looked at get_filename_component but didn't find 
anything appropriate.

What I'm doing at higher level is transposition of CMAKE_INSTALL_PREFIX with 
DESTDIR variable, like what install(FILES) is doing. I cannot use built-in 
DESTDIR support because I need to pass modified path to external program. Is 
there any better way to achieve that?

Thanks!

-- 
Regards,
Konstantin
-- 

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

Reply via email to