ENH: Better way to have escaping done correctly for all generators.
This commit is contained in:
parent
d717ad57a6
commit
a8c4244916
|
@ -937,9 +937,9 @@ IF (QT4_QMAKE_FOUND)
|
||||||
FILE (APPEND ${_moc_parameters_file} "${arg}\n")
|
FILE (APPEND ${_moc_parameters_file} "${arg}\n")
|
||||||
ENDFOREACH(arg)
|
ENDFOREACH(arg)
|
||||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||||
COMMAND ${QT_MOC_EXECUTABLE}
|
COMMAND ${QT_MOC_EXECUTABLE} @${_moc_parameters_file}
|
||||||
ARGS "@${_moc_parameters_file}"
|
DEPENDS ${infile}
|
||||||
DEPENDS ${infile})
|
VERBATIM)
|
||||||
ELSE (WIN32)
|
ELSE (WIN32)
|
||||||
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
ADD_CUSTOM_COMMAND(OUTPUT ${outfile}
|
||||||
COMMAND ${QT_MOC_EXECUTABLE}
|
COMMAND ${QT_MOC_EXECUTABLE}
|
||||||
|
|
Loading…
Reference in New Issue