Fix a regression that omitted filenames from allsrc.cpp (#4531)

This commit is contained in:
alteman
2017-03-02 18:28:10 +01:00
committed by Bertrand Songis
parent d8b4f8594d
commit 26259f398d
+1 -1
View File
@@ -507,7 +507,7 @@ if(NOT MSVC)
if (BASH AND NOT WIN32)
add_custom_command(
OUTPUT ${ALLSRC}
COMMAND ${BASH} -kc 'rm -f ${ALLSRC}\; for f in ${SRC}\; do echo "\\# 1 \"$$f\"" >> allsrc.cpp\; cat "$$f" >> ${ALLSRC}\; done'
COMMAND ${BASH} -kc 'rm -f ${ALLSRC}\; for f in ${SRC}\; do echo "\\# 1 \\\"$$f\\\"" >> ${ALLSRC}\; cat "$$f" >> ${ALLSRC}\; done'
WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY}
DEPENDS ${SRC}
)