[Cmake] STREQUAL and FILE command

Brad King brad . king at kitware . com
Thu, 17 Jul 2003 14:41:37 -0400 (EDT)


> question 1) Should the MATCHES command do the same as my STREQUAL, or
> shall I commit the STREQUAL addition to the if command

MATCHES expects a regular expression on the right-hand side.  Use the
STRING command to compare two strings for equality.

> question 2) Should I modify the File Write to not add a CR/LF

I vote yes.  One can always use a \n at the end of the string to be
written.  Andy? Others?

-Brad