[CMake] multi-line definitions
Emmanuel Blot
eblotml at free.fr
Tue Sep 23 14:54:40 EDT 2008
> The only way would be something like this:
>
> set(a "-mcpu=arm7tdmi -std=gnu99 -fgnu89-inline -finline-functions")
> set(a "${a} -ffunction-sections -fdata-sections ")
> set(a "${a} -fno-strict-aliasing -mno-thumb -Os -fomit-frame-pointer")
Ok thanks. Not really handy, but better than nothing ;-)
It would be great if CMake supported a true multi-line option, even a
basic one like the \ escape char.
Cheers,
Manu
More information about the CMake
mailing list