The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15898 ====================================================================== Reported By: Ilya Assigned To: ====================================================================== Project: CMake Issue ID: 15898 Category: CMake Reproducibility: N/A Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2016-01-02 05:18 EST Last Modified: 2016-01-02 05:18 EST ====================================================================== Summary: CMake must provide a magic method to do right escaping of commands being executed in shell Description: Right now it's very hard to write a command that should be executed in shell and will work on various platforms. Here is the notable example we came across recently: https://gist.github.com/Kentzo/00198d5cfc03ebdedddf
CMake should provide a function or some way to specify a literal that will be correctly escaped according to the rules of the shell where the command will be executed. Additional Information: https://gist.github.com/Kentzo/00198d5cfc03ebdedddf ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-01-02 05:18 Ilya New Issue ====================================================================== -- 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