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

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to