On 25 September 2017 at 12:57, Oleksii Vilchanskyi <alexvilchan...@yahoo.com> wrote: > As usually with CMake, there are no recommendations/guidelines.
So, cases with the ammo for CMake sceptics and opponents are not empty, yet. Pity. > However, here's my logic: > > 1) if it's a path, always quote it > 2) if it's not a pat, but inside an if() or any similar core language > structure, quote it as well > 3) don't quote only if you're sure the string can't have spaces - otherwise > do quote > 4) quoting is free and doesn't hurt That sounds reasonable. Thank you. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net -- 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