[cmake-developers] [CMake 0012439]: IF () doesn't use short-circuit evaluation
Mantis Bug Tracker
mantis at public.kitware.com
Thu Sep 1 13:15:35 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12439
======================================================================
Reported By: freddie
Assigned To:
======================================================================
Project: CMake
Issue ID: 12439
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-09-01 13:15 EDT
Last Modified: 2011-09-01 13:15 EDT
======================================================================
Summary: IF () doesn't use short-circuit evaluation
Description:
SET(var "foo")
IF (var MATCHES "(foo)" OR var MATCHES "(bar)")
MESSAGE("matched: ${CMAKE_MATCH_1}")
ENDIF ()
outputs "matched: ".
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-09-01 13:15 freddie New Issue
======================================================================
More information about the cmake-developers
mailing list