On 03/21/2013 03:40 PM, Clinton Stimpson wrote: > Is there a best practices using existing functionality to always avoid > automatic dereference when comparing strings?
if("x${LHS}" STREQUAL "x${RHS}") One can construct pathological cases that will break it but it works well. -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