So the following SET(CPACK_SOURCE_IGNORE_FILES "/^CPack.*/" "/.*\\\\.kdev.*/") should result in ignoring all files Starting with 'CPack' or containing '.kdev', right? But why does this not lead to exclusion of files like 'CPackConfig.cmake' or 'myproject.kdevses' ?