On Tuesday, 5 December 2006 18:31, Michel Hermier wrote:
> Is there a macro to split a string to a list, so that
> the compatibility macro at least could get fixed ?
> Maybe a utility commands like STRING SPLIT/JOIN should be added for that
> ? and maybe there are other more usage for it ?
$ cmake --help SEPARATE_ARGUMENTS
SEPARATE_ARGUMENTS
Split space separated arguments into a semi-colon separated list.
SEPARATE_ARGUMENTS(VARIABLE)
Convert the value of VARIABLE to a semi-colon separated list. All
spaces are replaced with ';'. This helps with generating command
lines.
Regards,
Pedro
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake