[cmake-developers] valid variable names

Bill Hoffman bill.hoffman at kitware.com
Mon Aug 14 09:50:11 EDT 2006


So, cmake now allows this:

set(1 0)
message(${1})


And it will print 0.  This caused a hard to track down problem in a macro with kde.
Should cmake not allow variables starting with numbers?

-Bill




More information about the cmake-developers mailing list