• Rolf Eike Beer's avatar
    read less from version headers into variables · 4be67837
    Rolf Eike Beer authored
    Instead of reading the whole file using file(READ) and later matching on the
    whole file use file(STRINGS ... REGEX) to get only those lines we are
    interested in at all. This will make the list much smaller (good for debugging)
    and also the regular expressions will need to match on much smaller strings.
    
    Also unset the content variables once they are not used anymore.
    4be67837
KDE3Macros.cmake 13.3 KB