CMAKE_<LANG>_IGNORE_EXTENSIONS
This is a list of file extensions that may be part of a project for a given language but are not compiled.