[CMake] a backwards compatible language simplification

Lloyd Hilaiel lloydh at yahoo-inc.com
Wed May 10 19:37:31 EDT 2006


Having spent all day hacking a massive project using cmake, I wonder...

could this

FOREACH (foo ${foolist})
  IF (${foo} STREQUAL "bar") 
    ...
  ELSE (${foo} STREQUAL "bar")   
    ...
  ENDIF (${foo} STREQUAL "bar")   
ENDFOREACH (foo ${foolist})

change to this:

FOREACH (foo ${foolist})
  IF (${foo} STREQUAL "bar") 
    ...
  ELSE 
    ...
  ENDIF
ENDFOREACH 

Temporarily supporting gunk after the ELSE/ENDIF/ENDFOREACH for migration?

-- 
lloydh at yahoo-inc.com | quality foster don't
         http://docs.yahoo.com/info/values/


More information about the CMake mailing list