From 3fa0a03b7e4094bef1b66e48ed437e1c0b41c49a Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" Date: Sun, 4 Nov 2018 19:51:06 +0100 Subject: Help: Expand placeholders in string comparisons. And point out that STREQUAL is case sensitive. --- Help/manual/cmake-generator-expressions.7.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index cbeb348..27bf7d1 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -63,12 +63,14 @@ Logical Operators String Comparisons ------------------ -``$`` - ``1`` if ``a`` is STREQUAL ``b``, else ``0`` -``$`` - ``1`` if ``a`` is EQUAL ``b`` in a numeric comparison, else ``0`` -``$`` - ``1`` if ``a`` is IN_LIST ``b``, else ``0`` +``$`` + ``1`` if ``string1`` and ``string2`` are equal, else ``0``. + The comparison is case-sensitive. +``$`` + ``1`` if ``value1`` and ``value2`` are numerically equal, else ``0`` +``$`` + ``1`` if ``string`` is member of the comma-separated ``list``, else ``0``. + Uses case-sensitive comparisons. ``$`` ``1`` if ``v1`` is a version less than ``v2``, else ``0``. ``$`` -- cgit v0.12