[cmake-developers] [CMake 0015585]: Add support for the if / else construct to generator expressions
Mantis Bug Tracker
mantis at public.kitware.com
Tue May 26 10:49:35 EDT 2015
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15585
======================================================================
Reported By: Ilya
Assigned To:
======================================================================
Project: CMake
Issue ID: 15585
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2015-05-26 10:49 EDT
Last Modified: 2015-05-26 10:49 EDT
======================================================================
Summary: Add support for the if / else construct to generator
expressions
Description:
It's often desirable to provide content for both branches, e.g.:
$<CONFIG:Debug:-O0?-O2>
Right now code should like this:
$<CONFIG:Debug:-O0>$<$<NOT:$<CONFIG:Debug>>:-O2>
Which is beyond being readable.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-05-26 10:49 Ilya New Issue
======================================================================
More information about the cmake-developers
mailing list