The header of many CMake modules often looks like this (take
CheckIncludeFile as an example):

MACRO(CHECK_INCLUDE_FILE INCLUDE VARIABLE)
  IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
  ... ...

The IF statement really puzzles me a lot. What is it used to do?
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to