Hi,

I pushed the AddEqualOperator to stage, it adds the == operator to if(), which 
simply string-compares the both arguments, with no variable lookup (... which 
can lead to unwanted effects when using STREQUAL)

Does that look like a good solution ?
If so, I'll add tests, docs, etc., so it can go into 2.8.12.

I could also make it ===, so it looks a bit more weird ;-) (ruby has it too, 
and ruby is cool)

Alex
--

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

Reply via email to