[CMake] cmake gives poor warning on missing double-quote?

Dan Kegel dank at kegel.com
Mon Sep 1 16:22:05 EDT 2014


If you leave off a doublequote somewhere, you will get confusing messages like

"CMake Warning (dev) in CMakeLists.txt:
  Syntax Warning in cmake code at

    /home/joe/foo/CMakeLists.txt:66:79

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it."

on every following line that uses a double quote.  Seems like this
situation could be
improved.

(Checked with both 2.8.11 and 3.0.1.)


More information about the CMake mailing list