[CMake] managing lists with space separated elements

Brad King brad.king at kitware.com
Wed Apr 15 08:55:59 EDT 2009


Piotr Dobrogost wrote:
> Brad King wrote:
> 
>> Last year I started working on new features to allow projects to specify
>> flags with modern semicolon-separated lists.  See my comment from
>> 2008-10-09 here:
>>
>>   http://www.cmake.org/Bug/view.php?id=6493
> 
> It looks like that is the 3rd solution I suggested previously;
> 
> "Another solution is to implicitly convert every colon separated list
> (the only right list in cmake currently  :)  to space separated list in
> the last possible moment - when shell commands are constructed using
> variables' values."
> 
> Is it really so?

No.  All existing variables and properties will keep their meaning for
compatibility.  The idea is to create new properties like COMPILE_OPTIONS
which are semicolon-separated.  They will also have per-configuration
versions.

-Brad


More information about the CMake mailing list