[cmake-developers] foreach(IN LISTS) or not
Brad King
brad.king at kitware.com
Mon Aug 20 08:28:28 EDT 2012
On 08/20/2012 08:24 AM, Rolf Eike Beer wrote:
> The gain in efficiency would be just a bonus. My main concern is that
> the current use may happily cause trouble in most cases when an input
> path contains spaces or semicolons because of missing quoting and
> escaping. And most of them build up those lists by hand anyway so we are
> sure on most cases that empty elements are not present anyway.
Spaces won't make any difference. It's only semicolons that divide
lists. The IN LISTS mode will not treat those any differently. It
was really created only for empty entries.
-Brad
More information about the cmake-developers
mailing list