[CMake] What does this mean: IF("${VARIABLE}" MATCHES
"^${VARIABLE}$")
Clark J. Wang
dearvoid at gmail.com
Tue Dec 11 04:44:35 EST 2007
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071211/002574ac/attachment.html
More information about the CMake
mailing list