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 p
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;
"Anot
Piotr Dobrogost wrote:
Bill Hoffman wrote:
It was a mistake
to have CMAKE_CXX_FLAGS and CMAKE_C_STANDARD_LIBRARIES be strings they
should have been lists.
I'm glad you said this. It's something I've been trying to show in my posts.
Certainly CMAKE_C_STANDARD_LIBRARIES should have been a lis
Bill Hoffman wrote:
> It was a mistake
> to have CMAKE_CXX_FLAGS and CMAKE_C_STANDARD_LIBRARIES be strings they
> should have been lists.
I'm glad you said this. It's something I've been trying to show in my posts.
> If you want to convert a string to a list you
> can do it like this:
>
> set(l
Piotr Dobrogost wrote:
Bill Hoffman wrote:
Piotr Dobrogost wrote:
Bill Hoffman wrote:
There is no such thing as a list with spaces in CMake, that is a string.
So, no there is no way to use the list command on strings directly. You
could use string(replace ) to do what you are trying to do.
Bill Hoffman wrote:
> Piotr Dobrogost wrote:
>> Bill Hoffman wrote:
>>
>>> There is no such thing as a list with spaces in CMake, that is a string.
>>> So, no there is no way to use the list command on strings directly. You
>>> could use string(replace ) to do what you are trying to do.
>>
>> I'v
Piotr Dobrogost wrote:
Bill Hoffman wrote:
There is no such thing as a list with spaces in CMake, that is a string.
So, no there is no way to use the list command on strings directly. You
could use string(replace ) to do what you are trying to do.
I've seen people already asking about this f
Bill Hoffman wrote:
> There is no such thing as a list with spaces in CMake, that is a string.
> So, no there is no way to use the list command on strings directly. You
> could use string(replace ) to do what you are trying to do.
I've seen people already asking about this feature.
Wouldn't that
Bill Hoffman wrote:
> There is no such thing as a list with spaces in CMake, that is a string.
> So, no there is no way to use the list command on strings directly. You
> could use string(replace ) to do what you are trying to do.
I've seen people already asking about this feature.
Wouldn't that
Piotr Dobrogost wrote:
Hi
Can the list operations in cmake be carried out on a list with space
separated elements without converting this list to cmakes' inner format?
Below, "standard" I guess, way of doing this makes me cry :)
STRING(REPLACE " " ";" _LIST ${CMAKE_C_STANDARD_LIBRARIES})
LIST(
Hi
Can the list operations in cmake be carried out on a list with space
separated elements without converting this list to cmakes' inner format?
Below, "standard" I guess, way of doing this makes me cry :)
STRING(REPLACE " " ";" _LIST ${CMAKE_C_STANDARD_LIBRARIES})
LIST(REMOVE_ITEM _LIST "wldap3
11 matches
Mail list logo