[Cmake] backslash after file names
Andy Cedilnik
andy . cedilnik at kitware . com
27 Oct 2003 17:31:35 -0500
Hi Filipe,
Replace space with ;:
QT_RELEASE("qt_pt.ts;edu_pt.ts" edu_pt.qm)
Andy
On Mon, 2003-10-27 at 17:23, Filipe Sousa wrote:
> I want to make a rule on Makefile to generate internationalization files with
> lrelease. I just create this macro to do the job.
>
> 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)
>
>
> Here is the code in Makefile. As you can see there is an unexpected "\" after
> qt_pt.ts. How do I remove the "\".
>
> i18n:
> @echo "Building Custom command i18n..."
> lrelease qt_pt.ts\ edu_pt.ts -qm edu_pt.qm