[CMake] Possible Bug in Cmake

Dan Kegel dank at kegel.com
Mon Sep 30 14:10:39 EDT 2013


On Mon, Sep 30, 2013 at 11:04 AM, Dan Kegel <dank at kegel.com> wrote:
> If CMake is going to only
> behave properly when an argument is given in uppercase, it should
> abort if the argument is given in lowercase.  Throw the users a bone!
> There is *no excuse* for forcing users to guess.
>
> I thought there was a bug opened for this

Better than that, it seems to be fixed:

CMake Warning (dev) at CMakeLists.txt:1 (if):
  given arguments:

    "Linux" "matches" "Linux"

  Unknown arguments specified

So I'm happy in that case.  Are there other cases where the error is
not detected?
I think there are -- I've run into once recently -- but I forget what it was.
- Dan


More information about the CMake mailing list