[Cmake] backslash after file names

Amitha Perera perera at cs . rpi . edu
Mon, 27 Oct 2003 17:29:28 -0500


On Mon 27 Oct 2003, Filipe Sousa wrote:
> MACRO(QT_RELEASE TS_LIST OUTPUT)
>   SEPARATE_ARGUMENTS(TS_LIST)
>   ADD_CUSTOM_COMMAND(
>     OUTPUT i18n
>     COMMAND lrelease
>     ARGS ${TS_LIST} -qm ${OUTPUT})
> ENDMACRO(QT_RELEASE)
> 
> QT_RELEASE("qt_pt.ts edu_pt.ts" edu_pt.qm)

CMake lists are semi-colon (";") separated. Making the last line

  QT_RELEASE("qt_pt.ts;edu_pt.ts" edu_pt.qm)
                      ^
              change--|

would probably do it.

(Of course, that begs the question: how do you put a semi-colon in a
string? But that's a different story.)

Amitha.