Warning, /pim/trojita/cmake/SanitizedDesktopFile.cmake is written in an unsupported language. File is not indexed.
0001 macro(copy_desktop_file_without_cruft SOURCE TARGET) 0002 file(READ "${SOURCE}" orig_content) 0003 string(REGEX REPLACE "([a-zA-Z]+\\[x-test\\]=[^\n]+\n)" "" sanitized_content "${orig_content}") 0004 file(WRITE "${TARGET}" "${sanitized_content}") 0005 endmacro()