I just ran into two little newbie problems having to do with booleans. CMP0012 made various boolean constants case insensitive, but NOT is still case sensitive. If you use it in lowercase, you get the warning
CMake Warning (dev) at CMakeLists.txt:2 (if): given arguments: "not" "foo" Unknown arguments specified That's fairly clear, and anyone who's been around cmake will suspect that uppercase is required. Still, it might be nice to accept lowercase not at some point. Also, people who mistakenly use !foo instead of NOT foo get a surprise: the result is always silently false. It might be nice to catch this possibly common error and output an error message. -- 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://www.cmake.org/mailman/listinfo/cmake