On 11/01/2012 09:34 AM, Stephen Kelly wrote: > I've pushed a fix for the $<CONFIG> generator expression to do case > insensitive comparison, as it was in CMake 2.8.9 (generator-expression-bug- > fixes). I haven't yet merged to next as I would like to add a test.
This looks like a regression in 2.8.10. When was it discovered? This should have been fixed during the RC cycle. > Is there any existing comparable tests in CMake that I could copy the > pattern of? Nothing jumps to mind off the top of my head. It should probably be one of the Tests/RunCMake style tests. See if you can add it to the Tests/RunCMake/GeneratorExpression block of tests. > I'm not sure if IDE generators would do the expected thing if I > use -DCMAKE_BUILD_TYPE=Foo for example. The documentation of that variable is pretty clear: http://www.cmake.org/cmake/help/v2.8.10/cmake.html#variable:CMAKE_BUILD_TYPE "This variable is only supported for make based generators." though it should probably be updated for Ninja's use of it. The VS and Xcode generators do not ever read it AFAIK. -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
