[CMake] multi-line definitions

Emmanuel Blot eblotml at free.fr
Wed Sep 17 17:47:26 EDT 2008


Hi,

Is it possible to write variable definition directives using multiple  
lines, i.e.

I have a long definition string such as:
SET (CMAKE_C_FLAGS_RELEASE "-mcpu=arm7tdmi -std=gnu99 -fgnu89-inline - 
finline-functions -ffunction-sections -fdata-sections -fno-strict- 
aliasing -mno-thumb -Os -s -fomit-frame-pointer -DNDEBUG")

How can I split this line (so that it fits into 80 column pages) ?

Thanks,
Manu



More information about the CMake mailing list