Re: [CMake] List from strings (CMAKE_CXX_FLAGS and friends)

2012-12-03 Thread James Bigler
Has nobody else notice this particular language inconsistency? On Tue, Nov 27, 2012 at 1:12 PM, James Bigler jamesbig...@gmail.com wrote: I'm running into this again, and I trawled through the mailing list, and according to Bill (4/11/2009 - managing lists with space separated elements), I

[CMake] List from strings (CMAKE_CXX_FLAGS and friends)

2012-11-27 Thread James Bigler
I'm running into this again, and I trawled through the mailing list, and according to Bill (4/11/2009 - managing lists with space separated elements), I should be able to get a list from a string with a single command. If you want to convert a string to a list you can do it like this: set(list