Warning, /frameworks/kpackage/qrc.cmake is written in an unsupported language. File is not indexed.
0001 set(OUTPUT "<!DOCTYPE RCC><RCC version='1.0'>\n 0002 <qresource prefix='/${INSTALL_DIR}/${ROOT}/${COMPONENT}/'> 0003 ") 0004 0005 file(GLOB_RECURSE files LIST_DIRECTORIES FALSE RELATIVE ${DIRECTORY} ${DIRECTORY}/*) 0006 foreach(v IN LISTS files) 0007 set(OUTPUT "${OUTPUT} <file alias='${v}'>${DIRECTORY}/${v}</file>\n") 0008 endforeach() 0009 0010 if (metadatajson) 0011 set(OUTPUT "${OUTPUT} <file alias='metadata.json'>${metadatajson}</file>\n") 0012 endif() 0013 0014 set(OUTPUT "${OUTPUT}</qresource> 0015 </RCC> 0016 ") 0017 file(WRITE "${OUTPUTFILE}" "${OUTPUT}")