On 2013-10-18 10:47, Rolf Eike Beer wrote:
Am Freitag, 18. Oktober 2013, 10:42:19 schrieb Brad King:
So the block can be (untested):
if("x${arg}" STREQUAL "xBUILTIN_TYPES_ONLY")
Ah, horrid crap! :P
Any chance that this would not do what is expected from it?
if (arg STREQUAL "BUILTIN_TYPES_ONLY")
...doesn't that break if:
set(BUILTIN_TYPES_ONLY "I broke it!")
--
Matthew
--
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