[CMake] PKGCONFIG backward compatibility on CVS trunk.
Pedro Lopez-Cabanillas
pedro.lopez.cabanillas at gmail.com
Tue Dec 5 12:48:30 EST 2006
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
More information about the CMake
mailing list